Received: by 2002:a89:d88:0:b0:1fa:5c73:8e2d with SMTP id eb8csp1469632lqb; Sun, 26 May 2024 02:26:56 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWJ3iRDP3QjP13DCc/VEhHDBkD+OoUnyO3PozlDOFFwNmmXkhsCtHaJN/Lg08k07iKXTyZeng5M3uCN1uNXO6uXHoXhUsfk0QsctB9+Xg== X-Google-Smtp-Source: AGHT+IE+1HeMM1mePksDRDvA1Hyv/VKSVsQfMonGmKMmajpsQZ6Ueo35TscwuA16R/9DTDVVvYyT X-Received: by 2002:a05:6a20:1012:b0:1aa:41e4:f1b4 with SMTP id adf61e73a8af0-1b212e173femr6141183637.44.1716715616464; Sun, 26 May 2024 02:26:56 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1716715616; cv=pass; d=google.com; s=arc-20160816; b=a/jFE5S0K1luEFfomAbzjtKLVLp2no/TTQSPxkm3fib0SZgv1voC7d1sUNZ7J1MbG7 g/Ia8d3yeJuHdXX6ke5WYFaDPDATMA96mS0/4i5814AuR5WduehF+8GpOmmCM+lqI7UR Tj0j2UC97ILWUNaAEbj23hSZGFLPRk1ZZATyW/MbV3dXpsFG3RJUkvuuvL0itN/3mIxp tAbzCn1INzTZIQbuhxhCWr2NMjPySynki9x9bXpKFAxsxIUUV9IQorcmMqonV9wA7PQj WCe101Ip9g3HKU7hfN3tV8gq35vD+KoOGlI2gyBBv/gAQA5ScagnclLu/dpAbJDMLP72 deIA== 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=D7h0RhNkAKCic1Da42IZ3OgM6xXPiv190nM0wcYEFcg=; fh=UeNG57FdfyZsRzGxJXF4zWtHhswewiXuZ8bTUnKsgMs=; b=ilolHGfbWHzjyEuK8PrFIZniFaozXvl6WW1Y4FZt6Hih1BFPPt/BldDdFTFgz0c++H 465v0XCzjQiGSqp7oMsv/1Cg1nSkci1aZT6N/T/2DRxjUahxQiOsoKnbqJGJgoo04EEj GB1Vel7FyCJSfyTVN34ZB/Z8vTXYEUGtC8o2qUQ0WzDfswQ4Ci6Xvt1HrdDF/peldaM2 Q+naOtFYVZnnb27SN7oRj6CG/4TuYgXhpNEHekCO5ZLcx0DOiOocOw5Rdq8kafiNT81y s2/KcJqprp4DTk8PHyZr9AJMiuwk7wBO/mDNdmAz3bFNa1Z1+hn2aKMilMVInODVFWNN LgfQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@infradead.org header.s=bombadil.20210309 header.b=hpO+942e; arc=pass (i=1 dkim=pass dkdomain=infradead.org); spf=pass (google.com: domain of linux-kernel+bounces-189638-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-189638-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id d9443c01a7336-1f46be2b957si21669305ad.624.2024.05.26.02.26.56 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 26 May 2024 02:26:56 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-189638-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=pass header.i=@infradead.org header.s=bombadil.20210309 header.b=hpO+942e; arc=pass (i=1 dkim=pass dkdomain=infradead.org); spf=pass (google.com: domain of linux-kernel+bounces-189638-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-189638-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 080642829C6 for ; Sun, 26 May 2024 09:26:56 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 8E4B4B672; Sun, 26 May 2024 09:25:42 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=infradead.org header.i=@infradead.org header.b="hpO+942e" 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 3FEE78F54; Sun, 26 May 2024 09:25:40 +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=1716715541; cv=none; b=Ls6MlNDyDJaYoP8bwnloBQbnrkweoMquuacYpH0GqwASBIS88U7EKnqp5goDxIUD2EHcJHdJPuPS5dLTtCxHMSVSmoKoh8Vzc1YYbvb1DrZCrwUaXlqgWPRLNw3RV6mHePMANRmVL754uC2srNjW7AWTnTgCnVfYcDfYUJUSe7k= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716715541; c=relaxed/simple; bh=J3+xwB/7tX6Bth1ZZZOnPESeYeIK5qF5WnmoEBO+q5w=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=o2qAmq/68Th4F892GZSTGJB/IW/6eyAuFAynTOIlVLyxgxda3ApVX66Rn+R6LA+C8AN41E5bb3wr09nJVBq+778Ml14ks+Y+fO4WUroMxEn9ogQFbIHTLu2RvvRaUkguD5eMj5H6F1X70enhsUTCI1FPr8BXw1mW43+QcrUqX3s= 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=hpO+942e; 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=D7h0RhNkAKCic1Da42IZ3OgM6xXPiv190nM0wcYEFcg=; b=hpO+942ekCMbNp/hrhH5qKrYdX qceekPpSF2doKYsp7ncNpU4saNLeCFGJoOGvO5XdMPt6ftuSEAPsQv7NAPmNAaKzI2ADfe2PKK+J0 rUqaroxmw0TEHUMQtFF3NUWbNJ4ix3BQxOO7Hmgo71z1xf31vnK640NH2JV75MPOD1grAxAhItkAR wNdDEPBWZn/CESAi3dZNVlrWEq0D90TpLROmj3rTLV72X9k1sm3zMRDYkK62RxR/FqKDO8teppyA2 YLrA87ZjjpldN2mnlaejkPoej/0ggLAnyZBBYRodIeY4srlY9CTuY98PT0un15ilHaZO4gjmZGFS/ CPCdIexg==; Received: from hch by bombadil.infradead.org with local (Exim 4.97.1 #2 (Red Hat Linux)) id 1sBA8E-0000000CQp5-39By; Sun, 26 May 2024 09:25:34 +0000 Date: Sun, 26 May 2024 02:25:34 -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, linux-api@vger.kernel.org Subject: Re: [PATCH RFC v2] fhandle: expose u64 mount id to name_to_handle_at(2) Message-ID: References: <20240523-exportfs-u64-mount-id-v2-1-f9f959f17eb1@cyphar.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=us-ascii Content-Disposition: inline In-Reply-To: <20240523-exportfs-u64-mount-id-v2-1-f9f959f17eb1@cyphar.com> X-SRS-Rewrite: SMTP reverse-path rewritten from by bombadil.infradead.org. See http://www.infradead.org/rpr.html On Thu, May 23, 2024 at 01:57:32PM -0700, Aleksa Sarai wrote: > Now that we provide a 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. file handles are not tied to mounts, they are tied to super_blocks, and they can survive reboots or (less relevant) remounts. This thus seems like a very confusing if not wrong interfaces.