Received: by 2002:ab2:3319:0:b0:1ef:7a0f:c32d with SMTP id i25csp472149lqc; Fri, 8 Mar 2024 03:05:38 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCX4HazO9PfLUn/yatwAK0QYWO9BtIu67b13Tr6P811JSi3Nli0Sts6q8usPCCYV4yRfz3X8MTeRIc4U+0OMr62H5ZMvN1hIy377EBdv6w== X-Google-Smtp-Source: AGHT+IHoAJBBKT9SIMTXL7M4nsaucntlK4i5nxLXSL4vvqYzJx8ZjZHLjhOnAXHb6K+Hu3EX3pi0 X-Received: by 2002:a05:6a20:4c20:b0:1a0:e03f:dee with SMTP id fm32-20020a056a204c2000b001a0e03f0deemr8488656pzb.43.1709895938022; Fri, 08 Mar 2024 03:05:38 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1709895938; cv=pass; d=google.com; s=arc-20160816; b=WHGSyeKaDrpKtudunDw1WHC1dh680J1RmJo4xlN2oqEl5kh9vaR8MFDjm1lbVQVqRK 1/ck0rgUMxQivfFng3TGsX41hZNc7nqVifAr2H4e2aRKlxBEiqo665+0MNic/7MiezOM Z2Fkc3XiSYmjkT/i8PrxsEvihRVKw8Wo4i5KNDyb5cPRRdDqW1eJ5/rxSOJZdyVmABc0 vf1FUttPdlphRUS1WwFmrvjjls0qmnNWfWPvmlqR5DJ+tDJfaj81JdwxPAeby7RG2M4C S7+7ip2MYWu/h57gcV13bGoLSPK7UuDiLkowb9N8Uir57SUIkqYKKSJkHKt9zBGuOdLZ rKnQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date:dkim-signature; bh=rl/yCTb018Bg2oh4e/392Gbr2aGLmEN5ntQqECn41RU=; fh=BgU4KYP8KWV9viGapTb419Wz4hyS0nhVhYQXMNXGAXs=; b=NQoLYjd3Y/XnzQYDb2A9r5mHEBP6ZyLKWsthPJe8mVTfqLRtdMLU99Hrl90K6yyuZs RAvR7qHuJPeZljwiq4ZpywIjJak5vrOF/mc1YOGWWc92Ky82loCl10IY5yc8uP8MLpIq HtGTtctttrThcBjdMjXG+pfDA4j8ldkV8Ml8JhuQcTKYEiGanDIu8T5DBuMRqZ0iXvvW LSMOscM2zSVm0O9Qc1Wvx3C9DC4DWKLxcQEyX8QstifTXY0e5ZBMOyHUqtcMG4Ur3WI6 dlg/9fO1xeJ+nYv35ABig/TLNrOk3VxNDAc1FzaylWsT7mb3uzrcPEXlbBuJTTlxgM6w tc4A==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b="Qc9/YQLJ"; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-96893-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-96893-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [147.75.48.161]) by mx.google.com with ESMTPS id g30-20020a63201e000000b005cdf992367csi15936079pgg.691.2024.03.08.03.05.37 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 08 Mar 2024 03:05:38 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-96893-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) client-ip=147.75.48.161; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b="Qc9/YQLJ"; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-96893-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-96893-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sy.mirrors.kernel.org (Postfix) with ESMTPS id 916B6B231CC for ; Fri, 8 Mar 2024 11:02:51 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 297735E08D; Fri, 8 Mar 2024 10:59:43 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="Qc9/YQLJ" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 4D42E55E50; Fri, 8 Mar 2024 10:59:41 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709895582; cv=none; b=sZ63lAd/x17ET9X9P4869ktzMxssLk+ngQY2vA1+U/eXEp3S3K2eUXGHnHJUWCzfow4dqZN4FUGClRJs2T3/ZUvLr9Gn/DtJABSQGAQwI01pPIVs+2Fuc7mnwMafmvJBUnbiF8GC9LRYx11ys0gRXU8L4RuVb7HJN2tWgJKCxWA= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709895582; c=relaxed/simple; bh=XCx6rBF5QXE5ljZ6dgmSjPlktK82y9NFAFmToHiY3rM=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=MCJBrzKuaoVLuXbSKWCVmrDUIQdMKqR99ph2no0ygSUF6YfuyM7aZrep7Dx9TVhdIHRbN3lDEX8KhtCXqY28YAEvHWq07IS1cF4inQyOut5rTB1O05DGvgUVDIVt+bPglifXLVtWJ9I9mpG3gN6CF6eDCoX4xwxuk7Aamzgc/p4= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=Qc9/YQLJ; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 0F1A1C433C7; Fri, 8 Mar 2024 10:59:39 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1709895581; bh=XCx6rBF5QXE5ljZ6dgmSjPlktK82y9NFAFmToHiY3rM=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=Qc9/YQLJqkDldT6nTmCJ9jNzgiOZI4nHUSHkFPdsNoG2yuVaomoPar+KYppkc5q3y yoHfW+OfBFS1ZJZUp47J76Noncnw71Loxw8R+PvRKf4oebIptJtXoAm1ZlKpf7qj+3 +tlfLfOGAuxn8uEYuGXHYlWsP8KJuFFXcZ1mPkHpG7uh5EdaU8jT0T7zIGYG4oSyOo GyxaRoQQ+8uP77ICDPDbjiRIKGOikgR7rgMftZw24JUOpjXfvxQplJ5QfbWKxmMGjq IJQRbV2bvumrCOimGX+9/Jt67pGPPobSTq5jb7yEYhPfPpWof8XGfw9ei8BDhi6oDT ARQqftLEDHxuA== Date: Fri, 8 Mar 2024 11:59:37 +0100 From: Christian Brauner To: Kent Overstreet Cc: linux-bcachefs@vger.kernel.org, linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org, Josef Bacik , Miklos Szeredi , David Howells Subject: Re: [PATCH] statx: stx_vol Message-ID: <20240308-vorkam-aufgearbeitet-44ed64f7de69@brauner> References: <20240302220203.623614-1-kent.overstreet@linux.dev> <20240304-konfus-neugierig-5c7c9d5a8ad6@brauner> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: On Thu, Mar 07, 2024 at 12:39:58PM -0500, Kent Overstreet wrote: > On Mon, Mar 04, 2024 at 10:18:22AM +0100, Christian Brauner wrote: > > On Sat, Mar 02, 2024 at 05:02:03PM -0500, Kent Overstreet wrote: > > > Add a new statx field for (sub)volume identifiers. > > > > > > This includes bcachefs support; we'll definitely want btrfs support as > > > well. > > > > > > Link: https://lore.kernel.org/linux-fsdevel/2uvhm6gweyl7iyyp2xpfryvcu2g3padagaeqcbiavjyiis6prl@yjm725bizncq/ > > > Signed-off-by: Kent Overstreet > > > Cc: Josef Bacik > > > Cc: Miklos Szeredi > > > Cc: Christian Brauner > > > Cc: David Howells > > > --- > > > > As I've said many times before I'm supportive of this and would pick up > > a patch like this. There's definitely a lot of userspace that would make > > use of this that I'm aware of. If the btrfs people could provide an Ack > > on this to express their support here that would be great. > > > > And it would be lovely if we could expand the commit message a bit and > > do some renaming/bikeshedding. Imho, STATX_SUBVOLUME_ID is great and > > then stx_subvolume_id or stx_subvol_id. And then subvolume_id or > > subvol_id for the field in struct kstat. > > _id is too redundant for me, can we just do STATX_SUBVOL/statx.subvol? Fine by me.