Received: by 2002:a89:d88:0:b0:1fa:5c73:8e2d with SMTP id eb8csp2590962lqb; Tue, 28 May 2024 05:01:50 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCVCcMV/oQ429+IHAmUpC9J0RKtwf8dlrOZBWPwR/Q9Ul5vixJq9EpaVzUMwdSgekHjA0pquvghS9F3+rREXQ9MgmcYFeT9tS2q9uluaoQ== X-Google-Smtp-Source: AGHT+IEPwBXv+0klsJLwcL+qUud0ye2bEu1A9DOEDC5UKfH640+nb5MjoDdpZ0Gud7mG37n8LXAn X-Received: by 2002:a05:6a20:96c5:b0:1a9:4055:6dce with SMTP id adf61e73a8af0-1b212e2d2ddmr10175455637.58.1716897709876; Tue, 28 May 2024 05:01:49 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1716897709; cv=pass; d=google.com; s=arc-20160816; b=Zk0k4/qBp0eSgmOflx9Gnu+vD006D7eV/CPwuM3PWgiF6jw+v1IX6FRcqbvHC0xFkj cxbINwVWfo3PdilpSkr5QUdBfKvk08AyNlmiz01xt/SddfqPsIQauKH5UyS71Dy1/Lie ubf0lL2mA0sP1cQEA/VC2Oqw78yMEaNaLOUWUc5jmFdbew8aCT/2P/N28yuIkfZmxuA0 OWO2M6zrvexgLxrHeeP6rbNAbSd6wG2sFQk55FNs6qVz/XxvDbalrAUDpoaxscORhWyn cce4JiZ7nUdItA/KqObw6n3SlWiZBG+oPY+maayFVRySTgww+xUOP15Axx5CXEOVE6cW 8yVQ== 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=zr8XaKBl+ZknJmKpXKchgNyCDFwEJM5O2gqCp7zrmWQ=; fh=lPTOqyDu+Xj/Nk+cL2qr+U3k52eMmmVj/0lBaUQ1MwU=; b=cBGwrzMJL0jT/LLk32CdrQCsjm3/kQrY+4t38imlDH7r8ypSlYJDGUNhlqbd7lO8Bz YzbTYDEPyY/yk4hMXtdz5pSRgf6CJoHdbOKeTdk/36MDmHqCp1GxIrkI9DKMyiGI6kGx hsfpXGEgVsWbvx9uzUtciaM9HXx04lENlhcTsL9ozBzo3p3ViEPzoYX3MjPh3ENqmPHJ B6cfp0m9QjOoBch3VOFtkVgIYFffa5awOamTPSp0i7NyDjf0XYTnk2xVS+ZVN6JJfSbU lxHoSemv8Y+YRrrmFcRFeAD5OZVLs8wtM8jh3l+AvLL4ThBs0JS5SXBHrkHQfp/2XZWf PkXA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@infradead.org header.s=bombadil.20210309 header.b=0IUVrhai; arc=pass (i=1 dkim=pass dkdomain=infradead.org); spf=pass (google.com: domain of linux-kernel+bounces-192142-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-192142-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 41be03b00d2f7-6822946e333si8724082a12.585.2024.05.28.05.01.49 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 28 May 2024 05:01:49 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-192142-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=0IUVrhai; arc=pass (i=1 dkim=pass dkdomain=infradead.org); spf=pass (google.com: domain of linux-kernel+bounces-192142-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-192142-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 1961D28B4FF for ; Tue, 28 May 2024 10:55:53 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 5D98116C6B8; Tue, 28 May 2024 10:55:35 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=infradead.org header.i=@infradead.org header.b="0IUVrhai" 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 6686116B756; Tue, 28 May 2024 10:55:33 +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=1716893734; cv=none; b=HJU4L+ek0e81sMbvI3t4Du0h5qCS0amKyjWCrw2wNJF4xZ3yhYjPZ+XNJAmEXepiHU31BBL6vrEOg5PzS9N/laGqmIq/+4pFdkYNK7MGtFna7sFEW6TzYCBzNiwEF4Gznrp5Q6LcJ+xUMJt9TmEJs1pvr5DDB0aF6ak7tfWv3XQ= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716893734; c=relaxed/simple; bh=zr8XaKBl+ZknJmKpXKchgNyCDFwEJM5O2gqCp7zrmWQ=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=CD8i9zrw7bgmUcpSSoPmjV9Eh6jr3gVXIYopYuB9B77oAnj5bLf3BONrAEu6tiKevLYhhq/XkRekRfgUY7mTuyHLBcNmf0NF7tPpiYQeWx6nJsUsXOdpDVFfnI5dKVKs/cA+W+wc66znJX6LAoUCO+jSUZRCKYrJV6BZxY4EpbU= 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=0IUVrhai; 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=zr8XaKBl+ZknJmKpXKchgNyCDFwEJM5O2gqCp7zrmWQ=; b=0IUVrhaiaNYINgCLY7uDrFqI8+ Qfx4xa5KeQgj4gl/qJT1aLpJDPKnL5mCKlwdr9bTiqF+pQCV1yJsTZQd3QHtdIg/jY02EGs/WJvYb Ew5hdpVph61ZGpnfZZsV49mPKv+f8EYTlMk05yWA+bqD3aBT4CCwXTdargfGoMV6erljBd2n/sT6R RezAxTHmu8iuZ7Tdtg0sLB+yGol+lA2DhZBQO3ZOu6Bp69784yxkaD8WwJwCXRxaZh/0h2cjbM4K+ bJfXIprtxLXlU7ilEaQbudKoaZfnGjRR8ZeG3Gqf8J0mGnWlsWeCcTQwRXZoKftkW7e21Ll71Agc+ 2vvKz/eA==; Received: from hch by bombadil.infradead.org with local (Exim 4.97.1 #2 (Red Hat Linux)) id 1sBuUL-00000000Ha5-3bef; Tue, 28 May 2024 10:55:29 +0000 Date: Tue, 28 May 2024 03:55:29 -0700 From: Christoph Hellwig To: Christian Brauner Cc: Christoph Hellwig , Jan Kara , Aleksa Sarai , Alexander Viro , 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> <20240526.184753-detached.length.shallow.contents-jWkMukeD7VAC@cyphar.com> <20240527133430.ifjo2kksoehtuwrn@quack3> <20240528-wachdienst-weitreichend-42f8121bf764@brauner> <20240528-gesell-evakuieren-899c08cbfa06@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: <20240528-gesell-evakuieren-899c08cbfa06@brauner> X-SRS-Rewrite: SMTP reverse-path rewritten from by bombadil.infradead.org. See http://www.infradead.org/rpr.html On Tue, May 28, 2024 at 11:17:58AM +0200, Christian Brauner wrote: > As I've said earlier, independent of the new handle type returning the > new mount id is useful and needed because it allows the caller to > reliably generate a mount fd for use with open_by_handle_at() via > statmount(). That won't be solved by a new handle type and is racy with > the old mount id. So I intend to accept a version of this patch. The whole point is that with the fsid in the handle we do not even need a mount fd for open_by_handle_at. If you insist on making this interface even more crappy than it is and create confusion please record my explicit: Nacked-by: Christoph Hellwig in the commit :(