Received: by 2002:a89:d88:0:b0:1fa:5c73:8e2d with SMTP id eb8csp2518382lqb; Tue, 28 May 2024 02:18:57 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCW4CNft+/polHsYgwJEtSDGlwXZG6rYeMUuXQnhmXBj/SLMI6WuNiCN22txwUUk+DnAoCLdS1S2foV46ytHLsAhkDput1b7Kwsk+cY4VQ== X-Google-Smtp-Source: AGHT+IGZuXX7a+mdmWeGssvDxhA4Ht7wYDG5l2cQ61NOQjShLpzFyvV+JtN50a8h62MgyQRxF/Xz X-Received: by 2002:a17:906:6bd4:b0:a63:3586:a4ca with SMTP id a640c23a62f3a-a633586a5b0mr136269966b.11.1716887937169; Tue, 28 May 2024 02:18:57 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1716887937; cv=pass; d=google.com; s=arc-20160816; b=MgmJlhca8SAz0C/h900GQclgiNMpp+P/rJpoD4MJ2jZR1ALSVa9qtgFwHvQdh/f86a 2AxE9SWs0kZxSX62L3fmkE4tLBKZdnmbX7iYekp0y7AMv3i+zTotSoC08HrMf/N/sUKj DY2lnG9NqxeaNt+ZJUZ3EgCtQant+QS2VyOCNsBXPLVMTaDAYipU/IoI8516ykMJrfJK LYa8YS+XRi4MoSS61MuJU19oueJbG3vaLNG0iuYbcxu6cZV4rTT73lRTAvvZnG0vb04n 1trLxkaZz2eNIyYx4nY6lPZybH3LpihirReRPnWjMigMtE9bZDCVx970da6GO1l0Bxm+ 9iFg== 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=5jHOiEd7A/02MtQRJnrZgPgbn/2pIvcR+t5IMtURaGM=; fh=qn1thDOp7oUnXpP8lW/X1YDKTirKPzQ6NBfQwZHyQ0U=; b=UhqT7Qi6SvbDEEqhYlUYNmuIfWPdmrBiSElBfkEtySfK1MVmyx+XGFMybwm6efF/F2 G1jgUMlLrJz2H+1vsRx+InIRazpV30uzQeBR6hXWhkVf5ibMn2W+UONjgdE188rhkBZa 2jhVHaSuQLhUbeZSASwnywqRwsVIGGtu7GAYr0IPohLjOaSm1BCDhMA4nnIjYjQchiPT lLz1v2tpCFiJ6c8cC4bh60zAaC+3jBsORnxIEgBX/KycXImM1teRrgf3ZRpAP8vhO/tI ROkMrmqK7IZ1xs1CrrAYn7a7m9u/Ra0RYlR4kxriVQSTc8dWsKcgTpb1N5Itt7/C6vWU /a2g==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=SeoMYBfz; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-nfs+bounces-3434-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-nfs+bounces-3434-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. [147.75.80.249]) by mx.google.com with ESMTPS id a640c23a62f3a-a626c7febcesi470368966b.150.2024.05.28.02.18.57 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 28 May 2024 02:18:57 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-nfs+bounces-3434-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=SeoMYBfz; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-nfs+bounces-3434-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-nfs+bounces-3434-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 E30831F22D80 for ; Tue, 28 May 2024 09:18:56 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 39F8813E3F7; Tue, 28 May 2024 09:18:05 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="SeoMYBfz" X-Original-To: linux-nfs@vger.kernel.org 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 00EBB13E3E4; Tue, 28 May 2024 09:18:04 +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=1716887885; cv=none; b=g8k10XE+PHoK5JDOsZiz6aRsea/gaznk7jbOvUB/XP2rwETjdPbRSY13om23lscxD72cjZM+ApxV/uDoRh2+lQYTC2mfTtHAKYVcV9nIGQc5Dhnbv6RnbkTLqSfJFMSpIkNoQCzVe5KlxkBcvtVhNLN3mpB+54tK6UYfPdSCeWE= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716887885; c=relaxed/simple; bh=sHDgCQroYrNtRfGIVFtzULC0y1sPXOLnGzZzrn+ZRQg=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=tEiCp/4RzAQld/LV6dBn1pAOg/RvUvsWEF1tBjBAvJ+5DiccABpEEfWo2ESB4WFGzKZKtcfV7UESkdSz0kQEMcfa+pNXs+zwjmaDHsVgaMmqi1RRneC9R/pq/yPI8C/Y0RELovoyfPHyDpiktuVY+g14MW/WoMqiXW34b3MV7+I= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=SeoMYBfz; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 6C188C4AF08; Tue, 28 May 2024 09:18:01 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1716887884; bh=sHDgCQroYrNtRfGIVFtzULC0y1sPXOLnGzZzrn+ZRQg=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=SeoMYBfz+kd2DFmF2s6i6cDdVAc1SIqumXsbNcwxNaVG9Iz6Tn4mTXo9w/9nztWDm o1wKhbLzY7Rv0Dta0Rtlq7G1HjyqJv7kbB1R/39bXLne+kd6MpySpQwoDDgxC80Gcr mwVV/fe/G8paLDBn9vjyei6j9CSOPiVYl3O+7s26Ha2g6cq42W50N/SBfsP1oONQ9O 5dEQ/YgzIVMX4Y1+RPeBbhqBzZd3NZrJoQbC40qtkIZf0/30Q1QLcXP9TReS8OA63Z q7dEDukMfbD/UMD8lx+agQZJNlnvbFo0EZWvc2G76BJXBU3J87fX750C9iejdqRpky nKK8uRO7orjHg== Date: Tue, 28 May 2024 11:17:58 +0200 From: Christian Brauner To: Christoph Hellwig Cc: 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: <20240528-gesell-evakuieren-899c08cbfa06@brauner> 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> 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=utf-8 Content-Disposition: inline In-Reply-To: > > Hell, if you twist my arm I'll even write the patches for this. > > I'm also happy to help with that despite very limited time, but I'd > rather avoid doing the misguided mount ID thing. 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.