Received: by 2002:a05:6a10:17d3:0:0:0:0 with SMTP id hz19csp564723pxb; Thu, 15 Apr 2021 00:56:21 -0700 (PDT) X-Google-Smtp-Source: ABdhPJx9QTzwWccaNnEFVa84IOPpN6a2nD9DFIdgJiTbDCnXVUxwUW1mLU90erKhvvWp9gq/eBXn X-Received: by 2002:a17:906:aec6:: with SMTP id me6mr2122357ejb.52.1618473381759; Thu, 15 Apr 2021 00:56:21 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1618473381; cv=none; d=google.com; s=arc-20160816; b=yIqv8/Kr9kDsUghgUva5z1N6V8qrxmy1h6Yls8MJCGjzR2mKPIF4nfFC2EeJDTNNzk /VB5u6+fyUHtmoEFuswwnBLHbAwn+nxAk70ZwWjPGOoe52PJpm00c9CWWYLV5ujCnttr Dz7eTs7arPMZ2gLSyCXAhoH55wvhiRQzuPZDN5Abizm11Mr1GoQ5syv+pHshKZ2m7hXf IgpBGFbx7hKaXB8c6+b0nxKWWz8hDYP5qCKEPRAjUKJFQhQHfFJJR+ah3dNB3mF5Gtm8 6i3IbEeXkO6zeav8AEFOaG2QPnTv0XZPBvmvrtZkSCSQNjjssYHUgpY88DAwPhFs1Hdr d7DA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date; bh=LvfShZH5UHM+Xm70AFTyCVqA/6zrLFPTItWxxsn49aU=; b=rwD1tlRNICU0vXj5fYxQrx1o6pl7oCJEf/h8jVWXDpQT2/cYvrtRQhJePoc0OTZrkV vT7AgKlG58fwTBEUJ9+n74bHx7mYTvZOVQlp10RA2USnJiaMTVQ1xcUsTqIlR+BvbfCC zYMqDMDAPH96+uIU++zFczD30Nqi9ppFfmRl+Qjt5tVQJXEN7Z7YmUJajxgJPyrK4RUA 5/S2U8tgeUR/B5fBo8LecUGIeivX6Unlic3a99PGcdW52pmv/W2728tvQQqs4ChClZPs tOtWTGF6kKteW+I9YzHy4lhq+NH2QtffDA0AxNr15SPkzEp5BvMizfGTOYxQcjfE9dPL Y+cg== 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 l14si521556ejk.72.2021.04.15.00.55.58; Thu, 15 Apr 2021 00:56:21 -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 S231241AbhDOH4E (ORCPT + 99 others); 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: linux-ext4@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.