Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp3929387pxu; Mon, 30 Nov 2020 13:27:10 -0800 (PST) X-Google-Smtp-Source: ABdhPJwALKvAQ6nHmXzwgrUjfi0Vzsa9r7OXmEtRnCQ7AtHK/k/Sq6iSV1j94D7p8COfcYWkAqiP X-Received: by 2002:a17:907:a96:: with SMTP id by22mr14932357ejc.171.1606771630407; Mon, 30 Nov 2020 13:27:10 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1606771630; cv=none; d=google.com; s=arc-20160816; b=kgfnsrm1e1OZqCOUMuwRqfb9llyponxG4a2HK916ZNyUz39PGMm19FneyjgKR2b/xI mhJ09cpDzRouAUST7va33c3R5vlQUf9rBMYEl6jLg+w7a9E6hBMU/rbEBYaXJ1CMxFdH ICgpFkc51HZT0MIOsjRAxN/oDl5KnqlcM2+t7ZQLx8MctgoKM028XNxBjjgFQzBrjOlr nGYwlwFTQfu18Hbv9RVF+YLim3dzrKgsrkFveIQjrzakyJzqJuLAVvWAqkX73QtWtp2T 5yAwTFYUa+jsEQVYiEnm70IX1ceWzTh3a6MWaaW5WTE5wnFylfNNE8Aap/Wx+kW8RHoN 43IQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=Z4nENzmrZGPaQrG7639UCyZrBtQqLuTZRZ1BUR/kllA=; b=iZjU7mSY+T/GqDANZWqZoJhcsTxwIYuAg8NTqIPJPvkjmaWjsQlEzS+FYbVjyxkmDQ 87ROM5fPKngrrAaHjQmlDdTfRY7rKo3lm8navESdwTxJ7m9cPnmUqE8qOa80dDEP4seT j9GYcpvfuWhD2FQ/ly6xBGWHl3GH+yA+5MVZBsxS5W4pdI1oYydEcqveK5bnQPQ1wQu+ MZS3Y+qgQUNoBwVapXT0EZ2jAo35NdhXoenIDApNG1nirk9zWiwWF2OFhh9Pq9LCuF62 IErAtzfWtftbOGmJOIIib3voucKWACAr69sK2Kqa68XPvLMf9QdIZ5he3AKHsaAJYFbp 5GrA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=0xOpJiuO; spf=pass (google.com: domain of linux-nfs-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-nfs-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id c16si7564588edx.597.2020.11.30.13.26.46; Mon, 30 Nov 2020 13:27:10 -0800 (PST) Received-SPF: pass (google.com: domain of linux-nfs-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=0xOpJiuO; spf=pass (google.com: domain of linux-nfs-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-nfs-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2388605AbgK3VZl (ORCPT + 99 others); Mon, 30 Nov 2020 16:25:41 -0500 Received: from mail.kernel.org ([198.145.29.99]:42034 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2388485AbgK3VZl (ORCPT ); Mon, 30 Nov 2020 16:25:41 -0500 Received: from leira.hammer.space (c-68-36-133-222.hsd1.mi.comcast.net [68.36.133.222]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 1D8752073C; Mon, 30 Nov 2020 21:25:00 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1606771500; bh=DASzqT4kAQ29qrK+viNs/MSa3um7C+aF4y4dk50+yb0=; h=From:To:Cc:Subject:Date:From; b=0xOpJiuOguOLcPnHEggju6cEyvF/sTTWJO4ojFXv+yPpqArmvFi1FzXYGX0R+V4hE QPI7mSVtVziDaCqvCeHUpvCb8VaUjpfSp4Nq8zrAB6XikQ50H0GIDWNv6/X9+GEBqM /YHL1llhrL/gpcVaY9s+jd12nRGydFVBnBXpf/7E= From: trondmy@kernel.org To: "J. Bruce Fields" , Chuck Lever Cc: linux-nfs@vger.kernel.org Subject: [PATCH 0/6] Patches to support NFS re-exporting Date: Mon, 30 Nov 2020 16:24:49 -0500 Message-Id: <20201130212455.254469-1-trondmy@kernel.org> X-Mailer: git-send-email 2.28.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-nfs@vger.kernel.org From: Trond Myklebust These patches fix a number of issues that Hammerspace has hit when doing re-exporting of NFS. Jeff Layton (3): nfsd: add a new EXPORT_OP_NOWCC flag to struct export_operations nfsd: allow filesystems to opt out of subtree checking nfsd: close cached files prior to a REMOVE or RENAME that would replace target Trond Myklebust (3): exportfs: Add a function to return the raw output from fh_to_dentry() nfsd: Fix up nfsd to ensure that timeout errors don't result in ESTALE nfsd: Set PF_LOCAL_THROTTLE on local filesystems only Documentation/filesystems/nfs/exporting.rst | 52 +++++++++++++++++++++ fs/exportfs/expfs.c | 32 +++++++++---- fs/nfs/export.c | 2 + fs/nfsd/export.c | 6 +++ fs/nfsd/nfs3xdr.c | 7 ++- fs/nfsd/nfsfh.c | 30 ++++++++++-- fs/nfsd/nfsfh.h | 2 +- fs/nfsd/vfs.c | 29 ++++++++---- include/linux/exportfs.h | 10 ++++ 9 files changed, 146 insertions(+), 24 deletions(-) -- 2.28.0