Received: by 2002:ab2:3319:0:b0:1ef:7a0f:c32d with SMTP id i25csp39734lqc; Thu, 7 Mar 2024 09:40:17 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCV6sznqu1Pnb6neDUFvn9xpEIfYsJ0LDhnXDvD54YjDZL7AiJchqs8RhRRqlYkHFvQW9ssiDakYjJCy5Li7ApBCb9Z1WGoM5ee6xvaUxw== X-Google-Smtp-Source: AGHT+IHz8vtVNExCQ1VpLoMde/MEaKdn4qf0Z1hINQpFH8To0tqEgsT6V/XdJtcCRzibYD09XsLf X-Received: by 2002:a17:906:54c7:b0:a44:44ff:5dd5 with SMTP id c7-20020a17090654c700b00a4444ff5dd5mr12796595ejp.21.1709833217325; Thu, 07 Mar 2024 09:40:17 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1709833217; cv=pass; d=google.com; s=arc-20160816; b=zmOlJzDgxYM4FhCSBQurVj2iLXX4lpe+GfpDXoSvsmGFenKG29fx3o4XMKFhWGxNcQ er0qkHfHp6SAsCT4LGnLnXMKVq3L/4JTH4cJtdWEuS60cFKkkqmT5KWf7Ev+L8B4TWxD TEKi5CmxZSvey5aT0koNm6KUfgQ0SUws9s35Q/zK71LMQGuD2Q5+r//cgsvaYVygC8pJ 7ga2eAg7BaF78ai7eTXT1NVuIc++9u4/y1On3+ExE47qrTegYZ/UT+SO1QWQSnHS9rN1 1urZrKRe0P36HRYbau258sqTqr5/WjoxnWzeymDVH4aRHStf858gBwfBN8gA2ttFZjGI gXmA== 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:dkim-signature:date; bh=Saf0V459wjVI/LACMclGTIzYyUNjj1FKOP0tushsb8k=; fh=F6aDARE7Xh7f5vipFimzJVfcE+dxE3wHDN9S2sYa2/I=; b=dQkRLCS75Y9MRkomwhKxpE8egg2JiDS/YBLI89o5o0MudnKTP88010rTaTaHIMAs9i 8Xqirb2W+Nf+7MAYyZD7GxQD5XUOI74VMaFJ5cior3PsNgfveoxJPMTIZxnqCSqRGifA vsmKWBCGMnq0ym3Xum3Gc6RDpdcTfo7i/CQsqap/io76hCypcJbRdC+yOWcEXxXnnH2b 5kwTyCRQI3QgRbytbwmQ9ZY32P5LyvPcaNFO60Ue6FINXFZJa2hA48zLre62X9YSoyOv IAv1NZ8eKAtQPbqtxviHWWYNPNys8+Ajga5KJRYq7d5+Qu95z6zY20xQKj5tdQiXVABB EriA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linux.dev header.s=key1 header.b="fIzF/9Wo"; arc=pass (i=1 spf=pass spfdomain=linux.dev dkim=pass dkdomain=linux.dev dmarc=pass fromdomain=linux.dev); spf=pass (google.com: domain of linux-kernel+bounces-95957-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-95957-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linux.dev Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id hq2-20020a1709073f0200b00a42edc09d48si7116280ejc.1034.2024.03.07.09.40.17 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 07 Mar 2024 09:40:17 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-95957-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=pass header.i=@linux.dev header.s=key1 header.b="fIzF/9Wo"; arc=pass (i=1 spf=pass spfdomain=linux.dev dkim=pass dkdomain=linux.dev dmarc=pass fromdomain=linux.dev); spf=pass (google.com: domain of linux-kernel+bounces-95957-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-95957-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linux.dev 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 am.mirrors.kernel.org (Postfix) with ESMTPS id 11DEB1F23A4F for ; Thu, 7 Mar 2024 17:40:17 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id A1AA1130E35; Thu, 7 Mar 2024 17:40:09 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linux.dev header.i=@linux.dev header.b="fIzF/9Wo" Received: from out-175.mta1.migadu.com (out-175.mta1.migadu.com [95.215.58.175]) (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 0844A12FF6C for ; Thu, 7 Mar 2024 17:40:06 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=95.215.58.175 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709833208; cv=none; b=UePGZkiM0HRCLwjLFSYuzw/3UVpv3oE30W0RdCM8fivEMsFYTP0ECMDbi76yK8kFvSgmZOWF7fwcaG/X+GLoa8Iebrn6KCHz61V1P08K/XqdQ2nfPi8oTNQfMjW3k/RCpHM8JZvAmRK+btO0Og3WN91uuBugo9PsQNyUp1Ueyuo= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709833208; c=relaxed/simple; bh=hRSl+XEmM4fPNM12v3nNoTx7PNw2TGseWo3VuRaIdko=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=gylSw+gbT+yt39esvrU9+K2IF0pXNEwDTFBL1irK00oecXQyVLTXi1sIBfprqGtBpdhI1GQWaa83ay20YYs4Nqyjez8Zg8l0cv+4UtbePJBcBz6xFgsPns85Jo+BLX9Hg9C+ZQT7bDvpJRyZfRYH8rwcQ+4tZkSBY0Ut0k7hLCQ= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.dev; spf=pass smtp.mailfrom=linux.dev; dkim=pass (1024-bit key) header.d=linux.dev header.i=@linux.dev header.b=fIzF/9Wo; arc=none smtp.client-ip=95.215.58.175 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.dev Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linux.dev Date: Thu, 7 Mar 2024 12:39:58 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.dev; s=key1; t=1709833205; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=Saf0V459wjVI/LACMclGTIzYyUNjj1FKOP0tushsb8k=; b=fIzF/9WoqVVDQVfK5OIIQsnwrnp4nKQCLhLc6Ex7PZuRVHUpvG+MG7OAWnrNk/UQ226T2I zMuqiO3Nt8FDHMBvH/C/1QnWTAu1Xumqk4ZVMdbHnVPyQSXF73y+BeESa5PW552epgKYZ7 RDsqlCmxXcJsO45vFsxhg3hJMgfZ7NI= X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. From: Kent Overstreet To: Christian Brauner 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: 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=us-ascii Content-Disposition: inline In-Reply-To: <20240304-konfus-neugierig-5c7c9d5a8ad6@brauner> X-Migadu-Flow: FLOW_OUT 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?