From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.3 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS, USER_AGENT_SANE_1 autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 1D6ADC433ED for ; Thu, 15 Apr 2021 07:55:43 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id D9277613A9 for ; Thu, 15 Apr 2021 07:55:42 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231215AbhDOH4E (ORCPT ); Thu, 15 Apr 2021 03:56:04 -0400 Received: from verein.lst.de ([213.95.11.211]:33676 "EHLO verein.lst.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230511AbhDOH4E (ORCPT ); Thu, 15 Apr 2021 03:56:04 -0400 Received: by verein.lst.de (Postfix, from userid 2407) id 445AE68B05; Thu, 15 Apr 2021 09:55:38 +0200 (CEST) Date: Thu, 15 Apr 2021 09:55:37 +0200 From: Christoph Hellwig To: Christian Brauner Cc: Christoph Hellwig , 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: <20210415075537.GA12220@lst.de> References: <20210411151249.6y34x7yatqtpcvi6@wittgenstein> <20210411151857.wd6gd46u53vlh2xv@wittgenstein> <20210411153223.vhcegiklrwoczy55@wittgenstein> <20210412115426.a4bzsx4cp7jhx2ou@wittgenstein> <20210415055408.GA8947@lst.de> <20210415074921.cf5uv4xehlctvtvv@wittgenstein> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20210415074921.cf5uv4xehlctvtvv@wittgenstein> User-Agent: Mutt/1.5.17 (2007-11-01) Precedence: bulk List-ID: X-Mailing-List: fstests@vger.kernel.org On Thu, Apr 15, 2021 at 09:49:21AM +0200, Christian Brauner wrote: > 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. I still think that is a very bad idea. idmapped mounts are foremost a VFS feature, with just a tiny bit of glue in every file system that does not affect the on-disk format. So any discovery for it needs to be using VFS infrastructure. IMHO just trying to mount is the proper way to do it, but if people want some other form of discovery it needs to be something in generic code.