Received: by 2002:ab2:788f:0:b0:1ee:8f2e:70ae with SMTP id b15csp166241lqi; Wed, 6 Mar 2024 13:15:31 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCVPiuBnPlSDBYtRDge9sNQCjwVe6NM38xSnn4nN30XSr+ZFcZLaesLVQNP0LpYw6WWRD05hwQWu8MRKZDKLkpimABDukRaVePtIGlpGKg== X-Google-Smtp-Source: AGHT+IHDypM+skdwQA87yPiZe0o77WdtWiCkgmgCiPhT2iYL6dWP7TwbPABEWtc/v5vfTFqrPNDy X-Received: by 2002:a17:902:bc83:b0:1db:ecf1:3b67 with SMTP id bb3-20020a170902bc8300b001dbecf13b67mr5146782plb.66.1709759731659; Wed, 06 Mar 2024 13:15:31 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1709759731; cv=pass; d=google.com; s=arc-20160816; b=gXRTORWda4YEyKzWA4x63h7r7UICJk0N+wiHeVXwXARaUdnfx+96j/DvG0bQMsYE1X n4ViB1X2njnNAus7Znn/l7+uZhqJUz/4vR9FFdHWIySXwQFdq4EC24ZVIfn+eGqJRSFB BObVzCYtd/LGxA/EWxluxn72fDFFxLxpwIHhp8fadsrGHzBzAyZ9lPw+/kbI2GuIrAZ6 nYuZNj68r1Q3nYs7vuaX2UFBjjYmMtaPrS1iDGYhQr+TsPMIlTuT6K9Nlg1vlsYnx0di SelTVJli4YhPXXdojoxMdeu0tDtkiR/Ky/HvF7IiZoMEYpSX231vD8AMEPA1MOwNhXIV KEHQ== 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=nk0/J29KPf4TmmeCSNMEsRp4h+k2/fvkEQwAaLlHWxs=; fh=nHFDVL5op91KiMt5xzpWDt3GRwyQBFIhKZV23kgwvik=; b=xWbH81nayhUSZjgpFfOA87PAyauKv11B/f1QWYhPuXg48m3g1KzmkIdZ6VNmoFGq0T b/4jx9jsmDLPksgOrlnadmEzXv+R2Hw+L9C5Emv6fDb9jKQS521B2k7Z83hcywJDH8cT ajvyqUgot7iIbldzg1+j5AYgAed+ypWpsSa9yk1JJBqBogYlB5HzVNl2pCs7fMhrzkVT MJczSG1xnjUs/9OPLriDs/5byAVI0OcDLaDQeE0VCZFaAwPAzrD6sV4ShRcgz2Q27ujg kwDiLyyQhbruSwIweiYEOBkMBqBJ3sWzZMZT44p7d1opGmU/YwDtE6BWTaYgywQ6Iks4 4JKw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@toxicpanda-com.20230601.gappssmtp.com header.s=20230601 header.b=nxITYk6F; arc=pass (i=1 dkim=pass dkdomain=toxicpanda-com.20230601.gappssmtp.com); spf=pass (google.com: domain of linux-kernel+bounces-94519-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-94519-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [2604:1380:40f1:3f00::1]) by mx.google.com with ESMTPS id x15-20020a170902a38f00b001dcaa524687si12495214pla.94.2024.03.06.13.15.31 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 06 Mar 2024 13:15:31 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-94519-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) client-ip=2604:1380:40f1:3f00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@toxicpanda-com.20230601.gappssmtp.com header.s=20230601 header.b=nxITYk6F; arc=pass (i=1 dkim=pass dkdomain=toxicpanda-com.20230601.gappssmtp.com); spf=pass (google.com: domain of linux-kernel+bounces-94519-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-94519-linux.lists.archive=gmail.com@vger.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 7F261B213BA for ; Wed, 6 Mar 2024 20:00:10 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 10BBE140E5E; Wed, 6 Mar 2024 20:00:02 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=toxicpanda-com.20230601.gappssmtp.com header.i=@toxicpanda-com.20230601.gappssmtp.com header.b="nxITYk6F" Received: from mail-yw1-f169.google.com (mail-yw1-f169.google.com [209.85.128.169]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id EE34C140397 for ; Wed, 6 Mar 2024 19:59:58 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.169 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709755201; cv=none; b=Lt7paM9pwf6iq0dUEtcJnEofw1YBXJ9QNUCMQVdYASUkYkfwF6VuJXnA43a22NFtsqP6E2Wizmko65EL3iTAr0musgl19yBLLDK0QmAvKHHrm4x4NJrGkrSuId/nVu7ZGMJqtgXTLOpLOqjVhJjeymmvD1gNQOPOgPYgTXq1dnw= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709755201; c=relaxed/simple; bh=MJQooKERrkO5M8FdxXsbgrCB1vQwZZRXngnYowa1Ucg=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=klwJmPnY/8LslQdwLQ5THfH1d4rGdMGh1BCD1eHLhtYy9WLDVl2O15exvex6P5ucGJCCgEuhbD+daXVx3JYrUXNdjnEo6gbGmRlGoruiBZ1aSwaGuCdEx2xN6/Pj7NCwFYi4P+NCel98ZGQLkEoua2xQywNZ/jF/hdR8CvYDaG0= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=toxicpanda.com; spf=none smtp.mailfrom=toxicpanda.com; dkim=pass (2048-bit key) header.d=toxicpanda-com.20230601.gappssmtp.com header.i=@toxicpanda-com.20230601.gappssmtp.com header.b=nxITYk6F; arc=none smtp.client-ip=209.85.128.169 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=toxicpanda.com Authentication-Results: smtp.subspace.kernel.org; spf=none smtp.mailfrom=toxicpanda.com Received: by mail-yw1-f169.google.com with SMTP id 00721157ae682-6096ab005c0so1377747b3.1 for ; Wed, 06 Mar 2024 11:59:58 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=toxicpanda-com.20230601.gappssmtp.com; s=20230601; t=1709755198; x=1710359998; darn=vger.kernel.org; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:from:to:cc:subject:date:message-id:reply-to; bh=nk0/J29KPf4TmmeCSNMEsRp4h+k2/fvkEQwAaLlHWxs=; b=nxITYk6FUOJOhKf/sKhG47NLK2mwoGTzHmTNNhxNIk7Bj8T0g3ZXECO7EtcSbbER1L XjxBYhZohxdwY4VBAYKuMI4JSwJEYP2iAigz9VB0licnoowBnxfUxJ9tGsxhL5sZow5+ sOkvA06fPJzle4rR3N4lrtCRMvFVd1tv6txgRiDRczMNjT3LuReoqnwbMQf7Yqx95zzO mde9jwIbLHrz1zpSU52WxOFTXRGf9+TA0pTf5na5pOZvEySIAMVSz+RHkZHJFSTsoiwT WJyfZSZrEu56E7OmanKvlynbnnJAqGBgJtm3YxTqt8khigdtDEZGkQq6smn02PrGzagD k8zw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1709755198; x=1710359998; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=nk0/J29KPf4TmmeCSNMEsRp4h+k2/fvkEQwAaLlHWxs=; b=rz2SUdW50oZIIZ76jYOO/MYhhW6oTvkf8DWpf+gL2jSlpdpVtmgE/5E3pTda1NQBVk DSS7L5XM/6yze/gE+y6O0QQmrOlSqzBjBT+2wDf2IImWuVRy3zu58RKj7Src8hnUvD82 Viu8oon7VgwOTHQEr42HvknJaE4UWITP4lE+eoxoaA+uJ1fyuIl0zC+unBb5ZofAVXJP iuuHA+nj83XCoxjDNljp/2R/GjZTKBBSGZWDKFMcQBcKXmAPSyCPZJayN0hqCkCpl2CA ZynZ6omzMKkTYyy58cnVjoLjzvKfD9ByarspmXwQ2e3zm1rKcik/oShkOtinhulrClKG AI9w== X-Forwarded-Encrypted: i=1; AJvYcCWnvTDcNO6fEdPuGCy9gELSnJbmy9qOmHLYxeKanAJSfqJugGAyQNXjahN2r9PiKEELdxSZSYO+OExW95W0TctuqkzX4XGJck3LX4cJ X-Gm-Message-State: AOJu0YxSellTrrwfRjyCM+ecquN6iQzvm/cMMvtihwZBNudpedreW60P S1YsBN45Ofl+9/eXjkpYq1kyJGKt4uDc/y6K/YZ2zUuJQiWRG1R42fBjiyBeeRw= X-Received: by 2002:a81:8784:0:b0:608:290d:9f1b with SMTP id x126-20020a818784000000b00608290d9f1bmr14538562ywf.49.1709755197926; Wed, 06 Mar 2024 11:59:57 -0800 (PST) Received: from localhost (076-182-020-124.res.spectrum.com. [76.182.20.124]) by smtp.gmail.com with ESMTPSA id r13-20020ac85e8d000000b0042f02284578sm1888194qtx.68.2024.03.06.11.59.57 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 06 Mar 2024 11:59:57 -0800 (PST) Date: Wed, 6 Mar 2024 14:59:56 -0500 From: Josef Bacik To: Christian Brauner Cc: Kent Overstreet , linux-bcachefs@vger.kernel.org, linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org, Miklos Szeredi , David Howells Subject: Re: [PATCH] statx: stx_vol Message-ID: <20240306195956.GA2420648@perftesting> 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> 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. Sorry I had my head down in some NFS problems. This works for me, I agree with the naming suggestions you've made. Kent, when you send a new version I'll review it and then followup with a btrfs patch. Thanks for getting this ball rolling, Josef