Received: by 2002:a25:d7c1:0:0:0:0:0 with SMTP id o184csp2791032ybg; Thu, 24 Oct 2019 15:26:13 -0700 (PDT) X-Google-Smtp-Source: APXvYqxDpgQ6D/bTsslBI82MSNTq70SCmkCKOrxnel8rbzKQz67KXRpfHxYgPN2NpX7DrzDCMwCh X-Received: by 2002:a05:6402:7d2:: with SMTP id u18mr549057edy.23.1571955973564; Thu, 24 Oct 2019 15:26:13 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1571955973; cv=none; d=google.com; s=arc-20160816; b=CzZef7DeGD/59OcBUjXpnxIm9nNYOQFnxaiBgGhs39qQWjLgIsoZNEq3KI3cJ+qZ5l U+p4s1b4op/xUVfw+5YHbgaivoIhXaobym0sWZcxO62RKCbqOir5IknTnsezLosaUQgG ZHTxNqNRFE/d4SZdNN4di22Zbk0pxycoXFus7k6E/MZR1JhPfSTvtJwibIqX2+xd3WjB MzUitxkByxgIbjAxAjBOrEoLGWJEZb+P/9jlDcPTARhZdoyfTH5g1ASQIN1X1GnQTbww BLHjgWsxBSuo4psd8PPpSmL4K/ATVoEy8vY1RPVcxymsGiFwws57Qtx9tCZBFU8P3CVm Zdbg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=MtkdY+WKUZqinmvda4R1uWroMjfJ4Co8/AYX2ddit8w=; b=qrVzzihCwdP4fL2VjyyeazIfoK++Q3DK8apCi8VmiG8NDib0Z0qdZ0sIu6oJY3QE53 xtbLWgwsNYh9R1vPQMBY0rDGBXE+iy+uYwIXhZ47sGlQ+FIPNAU+CF7BqXoo3dN0Zyyl Owco1nFz4d93wMFS88k/3kocX6aaVBU7bxVVjTOnQwPvrKjfxUfdDtjQddqdnxQr4Ml2 hmKeAdz+Ecwe+lL2Z7BWSiOiKBiSq2sK0JQIXBb9mt1RX3WWTirRzzdIluAra/OjkzTF 7o1bC7eDPWr9zz+y2Npr6NIf+Wg8ykhZRzaY7xFMvBLdpxOprWl1E60kT6s8LiLmEZD4 mWDg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-ext4-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-ext4-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id f23si8606795edj.380.2019.10.24.15.25.38; Thu, 24 Oct 2019 15:26:13 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-ext4-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-ext4-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-ext4-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2407150AbfJXHqZ (ORCPT + 99 others); Thu, 24 Oct 2019 03:46:25 -0400 Received: from mx2.suse.de ([195.135.220.15]:35658 "EHLO mx1.suse.de" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S2404822AbfJXHqZ (ORCPT ); Thu, 24 Oct 2019 03:46:25 -0400 X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay2.suse.de (unknown [195.135.220.254]) by mx1.suse.de (Postfix) with ESMTP id 456BEAC22; Thu, 24 Oct 2019 07:46:23 +0000 (UTC) Received: by quack2.suse.cz (Postfix, from userid 1000) id 0CF971E4A99; Thu, 24 Oct 2019 09:46:19 +0200 (CEST) Date: Thu, 24 Oct 2019 09:46:19 +0200 From: Jan Kara To: "Theodore Y. Ts'o" Cc: Petr Vorel , Andreas Dilger , Jan Kara , linux-ext4@vger.kernel.org, linux-fsdevel@vger.kernel.org, Cyril Hrubis , Yong Sun Subject: Re: "New" ext4 features tests in LTP Message-ID: <20191024074619.GI31271@quack2.suse.cz> References: <20191023155846.GA28604@dell5510> <20191023225824.GB7630@mit.edu> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20191023225824.GB7630@mit.edu> User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-ext4-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-ext4@vger.kernel.org On Wed 23-10-19 18:58:24, Theodore Y. Ts'o wrote: > On Wed, Oct 23, 2019 at 05:58:46PM +0200, Petr Vorel wrote: > > ext4-inode-version [4] > > ------------------ > > Directory containing the shell script which is used to test inode version field > > on disk of ext4. > > This is basically testing whether or not i_version gets incremented > after various file system operations. There's some checks about > whether i_version is 32 bit or 64 bit based on the inode size, which > seems a bit pointless, and also checking whether the file system can > be mounted as ext3, which is even more pointless. > > The i_version increment check can be done in a much more general (file > systme independant) way by using the FS_IOC_GETVERSION ioctl (there is > also an FS_IOC_SETVERSION). Yeah, I believe this may be useful to implement in fstests in some fs agnostic way. > > ext4-nsec-timestamps [6] > > -------------------- > > Directory containing the shell script which is used to test nanosec timestamps > > of ext4. > > This basically tests that the file system supports nanosecond > timestamps, with a 0.3% false positive failure rate. Again, why? > > > ext4-subdir-limit [9] > > ----------------- > > Directory containing the shell script which is used to test subdirectory limit > > of ext4. According to the kernel documentation, we create more than 32000 > > subdirectorys on the ext4 filesystem. > > This is a valid test, although it's not what I would call a "high > value" test. (As in, it's testing maybe a total of four simple lines > of code that are highly unlikely to fail.) These two may be IMHO worth carrying over to fstests in some form. The other tests seem either already present in various fstests configs we run or pointless as Ted wrote. Honza -- Jan Kara SUSE Labs, CR