Received: by 2002:a05:6a10:17d3:0:0:0:0 with SMTP id hz19csp561717pxb; Thu, 15 Apr 2021 00:49:51 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzS+pdZA5GiHCHLpjudLzCl37HPCvfJWAjN4wArv875F5GeT1ZAxa3DncDrMwfK7p7KHceg X-Received: by 2002:a17:902:9307:b029:ea:e588:10a with SMTP id bc7-20020a1709029307b02900eae588010amr2587566plb.7.1618472991643; Thu, 15 Apr 2021 00:49:51 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1618472991; cv=none; d=google.com; s=arc-20160816; b=hYX/ezl421tp3pnOJ6OFQQGOZ9pYKyoPH01+ZCr463tdsx/ppM1KKqWJ4Fc+1ZSU9G dpVEsOt8fCri9xziaXOoKUttGSUAfWYvTsf7LNEA66vhsoSJBY6iigpDCL3MNAxA/prT GFbXrAdPqIjMGFeYOV1vMUuOzYF0Dn2I2kpSFVa+utibJdMI4NfONjI5Mhct+zAhOOhy 0UfUuaKJSSq6nXyFqO1H5XtHBS5b1XDa2y0vHXm1OSCoGoDpWcDQyJk/cnTjJ5BRioV1 rcjFBzqMKEqDDe0hQZSxY3CapnXrcv4RGU/JAPNGsntM1GOsnsha4N04OnHnkZ1aF5zm PG/Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date; bh=P8jqmzWilXpfpFV2KYLuzIJTDM+N1Y0EEbyYFLW5iqo=; b=aOuVXNPDzOAWgiA34lic/b4OgAybmlFhb79KL3EM4R4oCRMSAfizPWX6Er8d4NegFj PWOqllecz9Lij9RuHCw2gsmyejIFf89nH5QYMJLd3jR9IQrkTRkO7zGchurC1+/ytU8q 4gi6X/Rpo4W7J5ZA4hhCLdH+LLRDiN5SvL+HEbqBm/lIawaUtuEkdiLvCUPaFPMOs4jI afM6sKTvg1mGP721YtNxYpM1ZsV9UOkimSNFVdd6eaLJfUjLw65En2lmcizq60nL9aMO Q83l2bc2694QDNgctOzDOt4JwY2BnZVsQdlTPSvD5USTpWgvwJXuR99Tyucnkxbs4nyR 2/cw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-ext4-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-ext4-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id x126si2445144pgx.252.2021.04.15.00.49.36; Thu, 15 Apr 2021 00:49:51 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-ext4-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-ext4-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-ext4-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231300AbhDOHtu (ORCPT + 99 others); Thu, 15 Apr 2021 03:49:50 -0400 Received: from mail.kernel.org ([198.145.29.99]:51572 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230090AbhDOHtu (ORCPT ); Thu, 15 Apr 2021 03:49:50 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id 9DA30611F1; Thu, 15 Apr 2021 07:49:24 +0000 (UTC) Date: Thu, 15 Apr 2021 09:49:21 +0200 From: Christian Brauner To: Christoph Hellwig Cc: Theodore Ts'o , Eryu Guan , Christian Brauner , fstests@vger.kernel.org, linux-ext4@vger.kernel.org, "Darrick J . Wong" , David Howells , Amir Goldstein Subject: Re: [PATCH -RFC] ext4: add feature file to advertise that ext4 supports idmapped mounts Message-ID: <20210415074921.cf5uv4xehlctvtvv@wittgenstein> References: <20210411151249.6y34x7yatqtpcvi6@wittgenstein> <20210411151857.wd6gd46u53vlh2xv@wittgenstein> <20210411153223.vhcegiklrwoczy55@wittgenstein> <20210412115426.a4bzsx4cp7jhx2ou@wittgenstein> <20210415055408.GA8947@lst.de> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20210415055408.GA8947@lst.de> Precedence: bulk List-ID: X-Mailing-List: linux-ext4@vger.kernel.org On Thu, Apr 15, 2021 at 07:54:08AM +0200, Christoph Hellwig wrote: > On Wed, Apr 14, 2021 at 04:47:10PM -0400, Theodore Ts'o wrote: > > On Mon, Apr 12, 2021 at 06:41:20PM -0400, Theodore Ts'o wrote: > > > In the ideal world, if the kernel wasn't compiled with the necessary > > > CONFIG options enabled, it's desirable of the test can detect that > > > fact and skip running the test instead failing and forcing the person > > > running the test to try to figure out whether this is a legitmate file > > > system bug or a just a test setup bug. > > > > So it would make it easier for me to manage running xfstests on ext4 > > if I had added something like this to ext4 and sent it to Linus before > > v5.12 is released. What do folks think? > > Completely stupid. This is a VFS-level feature and we need to have > proper VFS-level testing (which we have through creating a mount > with the option), not fs-specific band aids. Harsh words. :) Christoph's right though I think for the xfstests we don't need it and we're covered with what we have in the version I sent out last Sunday. However, as a general way of advertising to users that ext4 supports idmapped mounts I don't necessarily see a problem with that. It doesn't have implications for other filesystems and ext4 already advertises other features in a similar way. Christian