Skip to content

nfs-utils fixes

[email protected] linux-nfs 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest7 patches 3 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/7mountd: Add a helper nfsd_path_statfs64() for uuid_by_path()support/include/nfsd_path.h support/misc/nfsd_path.c utils/mountd/cache.c+49 -10 replies
2/7nfsd: Support running nfsd_name_to_handle_at() in the root jailsupport/include/nfsd_path.h support/misc/nfsd_path.c+70 -00 replies
3/7mountd: Fix up path checking helper same_path()utils/mountd/cache.c+59 -240 replies
4/7Fix autoconf probe for 'struct nfs_filehandle'configure.ac+6 -10 replies
5/7mountd: Ensure dump_to_cache() sets errno appropriatelyutils/mountd/cache.c+15 -40 replies
6/7mountd: Ignore transient and non-fatal filesystem errors in nfsd_fh()utils/mountd/cache.c+13 -122 replies
7/7mountd: Check the stat() return values in match_fsid()utils/mountd/cache.c+30 -150 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/7] nfs-utils fixes

From: Trond Myklebust <[email protected]>

This patchset fixes a couple of missed API changes in mountd to ensure that the [exports]rootdir root jail works correctly. It fixes up the 'same_path' function, as well as 'uuid_by_path'. It also improves the error handling, and tries to distinguish between bona fide path resolution problems, and other transient issues in order to avoid having knfsd return spurious ESTALE errors.

Trond Myklebust (7):
mountd: Add a helper nfsd_path_statfs64() for uuid_by_path()
nfsd: Support running nfsd_name_to_handle_at() in the root jail
mountd: Fix up path checking helper same_path()
Fix autoconf probe for 'struct nfs_filehandle'
mountd: Ensure dump_to_cache() sets errno appropriately
mountd: Ignore transient and non-fatal filesystem errors in nfsd_fh()
mountd: Check the stat() return values in match_fsid()

 configure.ac                |   7 +-
 support/include/nfsd_path.h |   9 ++
 support/misc/nfsd_path.c    | 109 ++++++++++++++++++++++
 utils/mountd/cache.c        | 174 ++++++++++++++++++++++++------------
 4 files changed, 242 insertions(+), 57 deletions(-)
Signature · 1 line
2.25.2