Received: by 2002:a89:d88:0:b0:1fa:5c73:8e2d with SMTP id eb8csp1460547lqb; Sun, 26 May 2024 01:55:59 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCVQLeVagAMBRc8jA0IZovbRkCJuL5Gpi9lDGkPUgW7KwN7WZtzmHKVsJZHe1k35lrrkFT8Egkz5T7BJDMSmCmUB5sYguP8JKaFGvMU0aA== X-Google-Smtp-Source: AGHT+IEH/DY5M5jTwVSSuN7gp/49huF6qeNsAgrKDv+Z8Q04yVSbslizmeoRlhAgZC8f+nkgovXV X-Received: by 2002:a17:902:f38c:b0:1f2:fe1b:13b5 with SMTP id d9443c01a7336-1f4494f1db4mr48985285ad.47.1716713759440; Sun, 26 May 2024 01:55:59 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1716713759; cv=pass; d=google.com; s=arc-20160816; b=hD1PEbDLmCQEOLdkg/b3ZAX2yoVuVMDlxMS/wKhsNBJ+ovGpL5+k1nUxnZyNzaEdaK 8Et+nllt2tQgPrYyHbprg5LoNsnDqIvbpPy5JfSOlFBq6muTMArTweFa8810XBNzmLdv mWT23PfG/vYZRHyppyPH2dOA+6AJzU0Xp2UYyJrQ12pmoDUGviIvUf3DdaXV1xV8HjeQ pdMUtc9SM5YvIBmV15U6r2yxVfa6TQTbK36dGGHnylbKlZ8+EsMyuXvXmskwq2EvWR1/ AZuIvfFZUAGLPY2aGezkgXrQAZiWlTXn2f8cFQFWMDDOuQTKbFigw9eU8pq+vxGaMrvl oTBA== 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=o5fN1py3K53ZyRsgQ1po2cph7J0Yga3zhzECAnBodXM=; fh=mqt9NuQmjbZXDmA8R+2TxL+8H5B2Jozlt7E7kxCXGpo=; b=ZVnYY7/3J+Qq0zjGvDBIg6GdAL80YsL+NRzAa8ZGfpxRnYowFwwoyKZRnwSXKxw4NC em+KY4Z7FJIAwC91woRWddAtu5kKZkwcd7BJ+3nSvoH/Y8NcQbUlOvuudAo19K+augeF AOl8zwb1oK70o/KBI49KOFZTrn0Y7e5+stX6/2UIpMT6HIHJ0/iHVAYzrp5vtCMatMPJ 9eCVOVG7tygtl/HSPeOklAFU8/LEWPPWG6DH+rDFabHleQf4mCiLEdbdQgzu0F2t9kj3 B80TVPf5cQON+G07QrHxZA2GPDzfIGjb5SteqLf1efA9YZ2So5sJRRxQf4yIp740Pl+K 80mA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@infradead.org header.s=bombadil.20210309 header.b=gOw5oCIQ; arc=pass (i=1 dkim=pass dkdomain=infradead.org); spf=pass (google.com: domain of linux-nfs+bounces-3382-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-nfs+bounces-3382-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id d9443c01a7336-1f44c9bf03esi42790485ad.494.2024.05.26.01.55.59 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 26 May 2024 01:55:59 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-nfs+bounces-3382-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=pass header.i=@infradead.org header.s=bombadil.20210309 header.b=gOw5oCIQ; arc=pass (i=1 dkim=pass dkdomain=infradead.org); spf=pass (google.com: domain of linux-nfs+bounces-3382-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-nfs+bounces-3382-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 sv.mirrors.kernel.org (Postfix) with ESMTPS id 56A322815C8 for ; Sun, 26 May 2024 08:55:58 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 7610A8BFA; Sun, 26 May 2024 08:55:54 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=infradead.org header.i=@infradead.org header.b="gOw5oCIQ" X-Original-To: linux-nfs@vger.kernel.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (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 A259F20E3; Sun, 26 May 2024 08:55:52 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=198.137.202.133 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716713754; cv=none; b=db2Q3gi0bUBjloSIGdAN7SJ+qyMFm4lObMh98Fae4l2g3bvkWHxlI3ADwy6qPV+xWWby7jWo17sEwP0kobRZPzJJqoYElDhCZQVgx7WvJxYxIEKEvR11GxIC47U+f8sPs0G1EHXFHF6XdeOVv/H9RUY9EEdE9O/FCN1bBJS5WrA= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716713754; c=relaxed/simple; bh=q95RI9MDo5gV6M5nrfXdCIpqiERZlKWhWNRkaZjO9yw=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=UUKgsyq3PzoKO6Uu8RL8kFQ85Sk8wSPucNrEef2cifQ+NKJ0PY6u+EFw7RgWkb+lmfDVxnxlxV+CxVgfRJ87Qzi2K4k7+nqph3IUu9WPIGimaMd/XGO9rkSFTFvJUjwOvW/4fuZnLCM3PgV+XERBB+aNA6XUJkBT0GrRP2kmJiw= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=infradead.org; spf=none smtp.mailfrom=bombadil.srs.infradead.org; dkim=pass (2048-bit key) header.d=infradead.org header.i=@infradead.org header.b=gOw5oCIQ; arc=none smtp.client-ip=198.137.202.133 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=infradead.org Authentication-Results: smtp.subspace.kernel.org; spf=none smtp.mailfrom=bombadil.srs.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20210309; h=In-Reply-To:Content-Type:MIME-Version :References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description; bh=o5fN1py3K53ZyRsgQ1po2cph7J0Yga3zhzECAnBodXM=; b=gOw5oCIQOCVVj+76645UUx3Eyj gCL1ADzibvXvNk4duxrNskDQyUwNjVlqSkdGN/Qd2pOw/UsrvToWe3XDKa7KjVDuUT220RF4UA22x 4lJt6M9sYjN18mwCPyXXMl9eijRw8U+8gxFgSZ6HCNFNacJwexw1P6K4SLPZtxanWM9/rNJwfML48 DZ5oIR4rWC+ow85IUj1yGQLNVfdBPntHt2SQsikPraLCPyC+nDd3CcjOyErgfZL1zVg6cxsVhD9EK pLJh0ekdnzl2tDgt1gLsBIefxcIsKgps16qF76XyJNMFym/cWVfaP/V6GFoUe6+qF5TWMXB53hKgd dqywKt5A==; Received: from hch by bombadil.infradead.org with local (Exim 4.97.1 #2 (Red Hat Linux)) id 1sB9fQ-0000000CNwx-3BE4; Sun, 26 May 2024 08:55:48 +0000 Date: Sun, 26 May 2024 01:55:48 -0700 From: Christoph Hellwig To: Aleksa Sarai Cc: Alexander Viro , Christian Brauner , Jan Kara , Chuck Lever , Jeff Layton , Amir Goldstein , Alexander Aring , linux-fsdevel@vger.kernel.org, linux-nfs@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH RFC] fhandle: expose u64 mount id to name_to_handle_at(2) Message-ID: References: <20240520-exportfs-u64-mount-id-v1-1-f55fd9215b8e@cyphar.com> Precedence: bulk X-Mailing-List: linux-nfs@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: <20240520-exportfs-u64-mount-id-v1-1-f55fd9215b8e@cyphar.com> X-SRS-Rewrite: SMTP reverse-path rewritten from by bombadil.infradead.org. See http://www.infradead.org/rpr.html On Mon, May 20, 2024 at 05:35:49PM -0400, Aleksa Sarai wrote: > Now that we have stabilised the unique 64-bit mount ID interface in > statx, we can now provide a race-free way for name_to_handle_at(2) to > provide a file handle and corresponding mount without needing to worry > about racing with /proc/mountinfo parsing. What are the guarantees for the mount ID? Is it stable across reboots? If not mixing it with file handles is a very bad idea.