Received: by 2002:a05:6358:9144:b0:117:f937:c515 with SMTP id r4csp1402778rwr; Thu, 20 Apr 2023 14:40:51 -0700 (PDT) X-Google-Smtp-Source: AKy350a0P0Q5xuqKjEK+4Kt5QbI2JckUA3dwosJJYLdXdOHsaJmKUSGIseuzcEg/CGPqoptQVeB+ X-Received: by 2002:a05:6a00:1947:b0:63f:18ae:1d5f with SMTP id s7-20020a056a00194700b0063f18ae1d5fmr36320pfk.29.1682026851369; Thu, 20 Apr 2023 14:40:51 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1682026851; cv=none; d=google.com; s=arc-20160816; b=yMq0ZDG5ucUUhqIhlGkuP1ziNMaxd5ZuJkaSmhBtLSrkidQaOKM4Mas6O9t8ivtpeK sJgMURMvsQ953wwl5T0KkqLbr19u9vZLEzrDourAVSBqkX5SprN8Pe4H1VQB/3/F40IH 96FftSghy+sTuYH7S+c1oKwFPsCTdnZCiGtg4BXFxl0IHpeaNg8sbPxwM5ky8SOyW9UA rGW6w2HBZTbEPjS3g3rDafGYzOMQV8joDuUDzwg5vCv5ANln+oQNWeaX0JBLZemlkv5M LYZELT7A1CSSEb1YUFO12XXGD9v5ASZ0ZuElUPTK7esblFH9aU0lM6d0SVV/ZmKn4kkF oAuw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature; bh=XdPzgZMga4nxCngAf5Uk4oKS+beDjYzCM1eCd0jiQBA=; b=gWS0N+tbowmqOnOSRARXCI6WHRmkbwcUrz78bpibXK9PXGxqtggAlnihiYru3IaUIO ZhK4KFtTuhzRMp2tmlLYYyL3VCp7zC4ZMRrPlQtWnvxemzq2HUKziieELXoMI+v/GYFV b71EcuLvXTNiaiEk0cmGwJTqqFF1VTwyg+raYPlKOxPo1tlvZHVt05h8kGIifaB2yejj 0Gcj5Tkncm6Qhayp20SVkKPzHHZ4T95qBSWmahhQvOZY6unEVyqDXwpdfaU9Yz6lUXry z8eVihmJSj9dBlTIVJFH1DTNt6znNftJHKjk3ocIxX42c40r/apmzUvcVh0p7lLjrqsO t1/A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linux.org.uk header.s=zeniv-20220401 header.b=Izx7MYew; spf=pass (google.com: domain of linux-nfs-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-nfs-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=zeniv.linux.org.uk Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id j131-20020a636e89000000b005181efe460csi2580366pgc.138.2023.04.20.14.39.58; Thu, 20 Apr 2023 14:40:51 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-nfs-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@linux.org.uk header.s=zeniv-20220401 header.b=Izx7MYew; spf=pass (google.com: domain of linux-nfs-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-nfs-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=zeniv.linux.org.uk Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232465AbjDTVfl (ORCPT + 99 others); Thu, 20 Apr 2023 17:35:41 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52612 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231376AbjDTVfk (ORCPT ); Thu, 20 Apr 2023 17:35:40 -0400 Received: from zeniv.linux.org.uk (zeniv.linux.org.uk [IPv6:2a03:a000:7:0:5054:ff:fe1c:15ff]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id DDB9959F8; Thu, 20 Apr 2023 14:35:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=linux.org.uk; s=zeniv-20220401; h=Sender:In-Reply-To:Content-Type: MIME-Version:References:Message-ID:Subject:Cc:To:From:Date:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description; bh=XdPzgZMga4nxCngAf5Uk4oKS+beDjYzCM1eCd0jiQBA=; b=Izx7MYewJXzDPQyTvwJddCGkk2 J4g7k/NJcTTr6noFbMY8sEkbMSb5wGamu45DmAVAXmPVwUazWDXuduj1qJr4tdwMtR95s3zttJPoJ zu98Ixjbug4mWHQPTTivKHw6b96+YzIK6ejpVJh55L0un51eZvjpeLrAiVRKRWte5+7BTpwmPUhE3 gVPL5noyX99klWH1GQZTNIZ/8XcDiMMIhvM/KeP+ruLDEu416Wg6xKS9qCyF7w3DmuK54B93ntI2R 73sVv84JMfFN1QsCAh+1StpTbnZV8lRC7fdNkZuASIo5SUUx6D20HX3QklDI1mq2G8bjUd4EBExa4 QYwtO41Q==; Received: from viro by zeniv.linux.org.uk with local (Exim 4.96 #2 (Red Hat Linux)) id 1ppbw9-00AxwI-2n; Thu, 20 Apr 2023 21:35:30 +0000 Date: Thu, 20 Apr 2023 22:35:29 +0100 From: Al Viro To: NeilBrown Cc: Christian Brauner , Jeff Layton , Dave Wysochanski , linux-fsdevel , linux-nfs , David Howells , Christoph Hellwig Subject: Re: [PATCH/RFC] VFS: LOOKUP_MOUNTPOINT should used cached info whenever possible. Message-ID: <20230420213529.GS3390869@ZenIV> References: <95ee689c76bf034fa2fe9fade0bccdb311f3a04f.camel@kernel.org> <168168683217.24821.6260957092725278201@noble.neil.brown.name> <20230417-beisein-investieren-360fa20fb68a@brauner> <168176679417.24821.211742267573907874@noble.neil.brown.name> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <168176679417.24821.211742267573907874@noble.neil.brown.name> Sender: Al Viro X-Spam-Status: No, score=-4.3 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_EF,RCVD_IN_DNSWL_MED,SPF_HELO_NONE,SPF_NONE, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-nfs@vger.kernel.org On Tue, Apr 18, 2023 at 07:26:34AM +1000, NeilBrown wrote: > MNT_FORCE is, I think, a good idea and a needed functionality that has > never been implemented well. > MNT_FORCE causes nfs_umount_begin to be called as you noted, which > aborts all pending RPCs on that filesystem. Suppose it happens to be mounted in another namespace as well. Or bound at different mountpoint, for that matter. What should MNT_FORCE do?