Received: by 2002:ab2:710b:0:b0:1ef:a325:1205 with SMTP id z11csp415368lql; Mon, 11 Mar 2024 06:43:30 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCUTbqkKn8ffDjUoRuV26NnFUdExxb2jTHasJMah2ImCAC8Wcy3vo/zMns3/+d1RqGOWtGDf0Np6PuCobKChPpUG0zxdsWoigkliiEi2Gw== X-Google-Smtp-Source: AGHT+IHTi1WmgjJQuSh/ia0PxLWaOIo3XeLhBZqnWjXXPfNTGqnY7MnChNCccJdKd9LK0ugt7iER X-Received: by 2002:a17:907:a705:b0:a3e:68a2:3d4e with SMTP id vw5-20020a170907a70500b00a3e68a23d4emr4419193ejc.54.1710164609877; Mon, 11 Mar 2024 06:43:29 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1710164609; cv=pass; d=google.com; s=arc-20160816; b=uelkQ3Z+cABhxTv32xYenEishUkb/dPlmyNBXk+ElzP/YQ6PxtF4dLD1mVfU+aHLLq HV7etQRpJFf6pjFRd/nZHEqg+jmt/J4iDX5dWO+LwUVg/e79mFkcpqLjbc9OZrpR3eaL Wv+5qGgA0SKJMmhzFYTOUOYsSClXWPyE8/7yj5V0uAsu5jSxBHdYuEobSPTUAbbnB6ur bkxWwsuI+pKjMvEdCkpli6FL3ZkzbYjeiZ/b3K/AyulKpJ6Xp0JSLGSlqxHNRrOYVm6X vOlIJrrkU9NP2NAAY4kV2OdcN0u3YIZI/58CtFDRqATCgoAKPp8YGEnDUE9zmPX3rFFr 8BMA== 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=Z7Ia7Ztxs90QBpK88hRvVyGfMXQAc89BjNxH9SlHvcU=; fh=orFbIXLAliczdCECHBnP71mEa3CkbwgrQGRECXIEcAY=; b=bGaRfAlJUniKXnzxkt1FwWJUUq0o4fJAy1jk0wn3vkFiHnASXlDii+R7itupygpFAK 1vffyCD36PwObQwdPvDzhnA/rDotDyYytdGG+Q7lbFjG4CkIBFOJl71HdAtU9Au0kCxx ySUjgprLaAbqAKenUMU/YyDN/1ictV+U2/QdujOt6XBaH6U6X00owfaAkhNzkoR6LnNz K9r0+08STsXfmbYSsYGbmUFM4y+HphCUrFs8/vK7qGHXFe8A+zOaBHXZe2eLuXYnUK3r IInhry4RzSlcm2StRYw0a5nAzn8BeIMQnJjxrLS+HG2r3Ai6MIQRWOFieUgA9drY+JE+ ngkQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=MTs+ZuHA; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-98897-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-98897-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id i16-20020a1709061cd000b00a443b9e8e8esi2591006ejh.452.2024.03.11.06.43.29 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 11 Mar 2024 06:43:29 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-98897-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=@kernel.org header.s=k20201202 header.b=MTs+ZuHA; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-98897-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-98897-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 am.mirrors.kernel.org (Postfix) with ESMTPS id 983EF1F220C6 for ; Mon, 11 Mar 2024 13:43:29 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 25D773F9D2; Mon, 11 Mar 2024 13:43:18 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="MTs+ZuHA" 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 2803D3D97A; Mon, 11 Mar 2024 13:43:16 +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=1710164597; cv=none; b=SUbAgwe+ue8FQ0hklhs3pjgPtnk8RIvuUNQ4ZjTv3e2EHA/QyZTg9mZZ4Pw8Lr0EJwbYtae8JPaMj/vHQxfNLtg2qJAWfDZDENvvYmN++QvA5YIkZf5Sb643RxF6dsl0iupnCWKXCXA05HKCyv14KgZiT6tzLAoNZkPS5gIsULU= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710164597; c=relaxed/simple; bh=mq8X4JcCZ9rUjnJd/N0SXZgZSoZcc3LD/5PMzOXcmfc=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=VUMIUirpRAvoagrm1Hu21dK8xAewxRZ4SzpFqfPfTy9BTWylFESenx3UP01x0lTHB8EWjzH1cgVXAwMUvjmZu057Xct6SH8yY++VK8svz1P3tENEdcKoX1pwVSZro9kxE9pDSO3tt+3slmSmngYp0lCjCVC1chG33FcxPeSzkLI= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=MTs+ZuHA; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 765BFC433C7; Mon, 11 Mar 2024 13:43:14 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1710164596; bh=mq8X4JcCZ9rUjnJd/N0SXZgZSoZcc3LD/5PMzOXcmfc=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=MTs+ZuHA9EVMuiMenxWicsun4LXM9RQql/9Y9HilPPjbJHVFt68HwaTOLRCDXkYWE bxhazABQ0siXaIoPrvlgI4iUZFMC5jffB/8AQB4Cdz9CsumI6tcBVsLQOmJCLXgD9y BWbkcRqE7AfArQQc24iwrMzvdJK+ivuh4w1MI0pX+61o8HJJBijn8PToBrCvhGtArE ByJLqvmWnQXmfYdbRAOI4aYIYs3TuN4kSvmJBYZqYgjseJTNqrWznhAPa9Xk49tYkF h/1xJAvqDCvdDpbkuMjsVgvIjmk5Dyf4FBmXs7TSvIXz1G6+Uryn6OPhyM+a8idZQl +52VM1NOnyr3w== Date: Mon, 11 Mar 2024 14:43:11 +0100 From: Christian Brauner To: Johannes Thumshirn Cc: Kent Overstreet , "linux-fsdevel@vger.kernel.org" , "linux-bcachefs@vger.kernel.org" , "linux-btrfs@vger.kernel.org" , "linux-kernel@vger.kernel.org" , Josef Bacik , Miklos Szeredi , David Howells Subject: Re: [PATCH v2] statx: stx_subvol Message-ID: <20240311-zugeparkt-mulden-48b143bf51e0@brauner> References: <20240308022914.196982-1-kent.overstreet@linux.dev> <2f598709-fccb-4364-bf15-f9c171b440aa@wdc.com> 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: <2f598709-fccb-4364-bf15-f9c171b440aa@wdc.com> On Mon, Mar 11, 2024 at 08:12:33AM +0000, Johannes Thumshirn wrote: > On 08.03.24 03:29, Kent Overstreet wrote: > > Add a new statx field for (sub)volume identifiers, as implemented by > > btrfs and bcachefs. > > > > This includes bcachefs support; we'll definitely want btrfs support as > > well. > > For btrfs you can add the following: > > > From 82343b7cb2a947bca43234c443b9c22339367f68 Mon Sep 17 00:00:00 2001 > From: Johannes Thumshirn > Date: Mon, 11 Mar 2024 09:09:36 +0100 > Subject: [PATCH] btrfs: provide subvolume id for statx > > Add the inode's subvolume id to the newly proposed statx subvol field. > > Signed-off-by: Johannes Thumshirn > --- Thanks, will fold, once I hear from Josef.