From: trondmy@kernel.org
To: Steve Dickson <SteveD@redhat.com>
Cc: linux-nfs@vger.kernel.org
Subject: [PATCH 0/7] nfs-utils fixes
Date: Thu, 16 Apr 2020 18:12:45 -0400 [thread overview]
Message-ID: <20200416221252.82102-1-trondmy@kernel.org> (raw)
From: Trond Myklebust <trond.myklebust@hammerspace.com>
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(-)
--
2.25.2
next reply other threads:[~2020-04-16 22:15 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-04-16 22:12 trondmy [this message]
2020-04-16 22:12 ` [PATCH 1/7] mountd: Add a helper nfsd_path_statfs64() for uuid_by_path() trondmy
2020-04-16 22:12 ` [PATCH 2/7] nfsd: Support running nfsd_name_to_handle_at() in the root jail trondmy
2020-04-16 22:12 ` [PATCH 3/7] mountd: Fix up path checking helper same_path() trondmy
2020-04-16 22:12 ` [PATCH 4/7] Fix autoconf probe for 'struct nfs_filehandle' trondmy
2020-04-16 22:12 ` [PATCH 5/7] mountd: Ensure dump_to_cache() sets errno appropriately trondmy
2020-04-16 22:12 ` [PATCH 6/7] mountd: Ignore transient and non-fatal filesystem errors in nfsd_fh() trondmy
2020-04-16 22:12 ` [PATCH 7/7] mountd: Check the stat() return values in match_fsid() trondmy
2020-04-27 18:38 ` [PATCH 6/7] mountd: Ignore transient and non-fatal filesystem errors in nfsd_fh() J. Bruce Fields
2020-04-27 18:39 ` J. Bruce Fields
2020-05-08 14:13 ` [PATCH 0/7] nfs-utils fixes Steve Dickson
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20200416221252.82102-1-trondmy@kernel.org \
--to=trondmy@kernel.org \
--cc=SteveD@redhat.com \
--cc=linux-nfs@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.