Skip to content

Patches to support NFS re-exporting

[email protected] linux-nfs 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest6 patches 21 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/6nfsd: add a new EXPORT_OP_NOWCC flag to struct export_operationsDocumentation/filesystems/nfs/exporting.rst fs/nfs/export.c fs/nfsd/nfs3xdr.c +3 more+50 -315 replies
2/6nfsd: allow filesystems to opt out of subtree checkingDocumentation/filesystems/nfs/exporting.rst fs/nfs/export.c fs/nfsd/export.c +1 more+21 -21 reply
3/6nfsd: close cached files prior to a REMOVE or RENAME that would replace targetDocumentation/filesystems/nfs/exporting.rst fs/nfs/export.c fs/nfsd/vfs.c +1 more+26 -100 replies
4/6exportfs: Add a function to return the raw output from fh_to_dentry()fs/exportfs/expfs.c include/linux/exportfs.h+29 -80 replies
5/6nfsd: Fix up nfsd to ensure that timeout errors don't result in ESTALEfs/nfsd/nfsfh.c+12 -43 replies
6/6nfsd: Set PF_LOCAL_THROTTLE on local filesystems onlyfs/nfs/export.c fs/nfsd/vfs.c include/linux/exportfs.h+14 -30 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/6] Patches to support NFS re-exporting

From: Trond Myklebust <[email protected]>

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(-)
Signature · 1 line
2.28.0