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 Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 40ACBC4167B for ; Mon, 6 Nov 2023 09:57:06 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230421AbjKFJ5G (ORCPT ); Mon, 6 Nov 2023 04:57:06 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40310 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229689AbjKFJ5F (ORCPT ); Mon, 6 Nov 2023 04:57:05 -0500 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7B95AA3 for ; Mon, 6 Nov 2023 01:57:03 -0800 (PST) Received: by smtp.kernel.org (Postfix) with ESMTPSA id C868FC433C7; Mon, 6 Nov 2023 09:57:00 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1699264623; bh=rzHnLpsLcwaSyMOYQyHFlfGI9zVL9VbpUnphQkNsJIc=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=A5qnBZasSDZ8riDWZCC+bOZPnszAHCjGSJ098cRA0Uqp8Lj+C1SNyPfye9CoWTdMT TetnlELHnOSaAOnnByVCtILwRcy+uqY2aC2nCOmREbDiLy3Up4/DX4It37iVk2hcMW tVnl10aHm2i2CNeuihTOP174yu9pIkS6pke74nlSdmwK5TffdKGURt/kThfyJnP2JN cAHPkIy25h/5bFrCaelzgoWkTJAuNnRuFFuBp/TsOells19gBRvLpFS3CnsRZKUa5m cHpRCiU6rOtZ0jq2ICgBr5CJaKolJyEyY6ZLG1zEphtZHf5X9vTVSZ0hIzcZwnyDA6 OqZTIgmADB/tQ== Date: Mon, 6 Nov 2023 10:56:57 +0100 From: Christian Brauner To: Qu Wenruo Cc: Christoph Hellwig , Josef Bacik , Qu Wenruo , Amir Goldstein , Jan Kara , Chris Mason , David Sterba , linux-btrfs@vger.kernel.org, linux-fsdevel@vger.kernel.org Subject: Re: [PATCH 0/3] fanotify support for btrfs sub-volumes Message-ID: <20231106-drehung-besagen-7fdd84ca5887@brauner> References: <20231101-nutzwert-hackbeil-bbc2fa2898ae@brauner> <590e421a-a209-41b6-ad96-33b3d1789643@gmx.com> <20231101-neigen-storch-cde3b0671902@brauner> <20231102051349.GA3292886@perftesting> <20231102-schafsfell-denkzettel-08da41113e24@brauner> <20231103-kursleiter-proklamieren-aae0a02aa1a4@brauner> <1d08a205-b2c5-4276-b271-088facc142ea@suse.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <1d08a205-b2c5-4276-b271-088facc142ea@suse.com> Precedence: bulk List-ID: X-Mailing-List: linux-btrfs@vger.kernel.org > Another thing is, the st_dev situation has to be kept, as there are too many > legacy programs that relies on this to distinguish btrfs subvolume > boundaries, this would never be changed unfortunately, even if we had some > better solution (like the proposed extra subvolid through statx). It would retain backwards compatibility as userspace would need to explicitly query for STATX_SUBVOLUME otherwise they get they fake st_dev. > Which I believe the per-subvolume-vfsmount and the automount behavior for > subvolume can help a lot. Very much opposed to this at this point. I've seen the code for this in the prior patchset and it's implication nothing about this makes me want this.