Linux NFS development
 help / color / mirror / Atom feed
* [PATCH nfs-utils v3 00/11] mountd: bugfixes for up/downcall interfaces
@ 2026-09-14 13:14 Jeff Layton
  2026-09-14 13:14 ` [PATCH nfs-utils v3 01/11] mountd: factor out the per-path export attribute computation Jeff Layton
                   ` (12 more replies)
  0 siblings, 13 replies; 14+ messages in thread
From: Jeff Layton @ 2026-09-14 13:14 UTC (permalink / raw)
  To: Steve Dickson, Mantas Mikulėnas; +Cc: Chuck Lever, linux-nfs, Jeff Layton

The main difference in this version is some cleanup to the warning
messages, so that we don't warn about internal events. Mantas, if you're
able to test this version too, that would be great.

Mantas reported a problem with his configuration that was using crossmnt
and autofs to export a number of btrfs filesystems. Some analysis with
Claude also uncovered a few other bugs. This version also fixes a
number of problems that Sashiko flagged. Some of them were preexisting
but seemed like good things to fix.

Signed-off-by: Jeff Layton <jlayton@kernel.org>
---
Changes in v3:
- Stop warning twice per unexportable path
- Keep a warning for the ip_map and unix_gid answers, which have no fallback
- Don't warn about a submount nobody asked to export
- Quieten the same message on the pipefs downcall (preexisting)
- Link to v2: https://lore.kernel.org/r/20260911-nl-crossmnt-v2-0-f4d869951c5e@kernel.org

Changes in v2:
- Retry instead of caching a negative when the failure may be transient:
  kernel errno, statfs, fsidd, and an undelivered negative fallback
- Drop a deferred request once it has been answered
- Bound the junction path copied into exportent.e_path (preexisting)
- Give each worker its own netlink command socket (preexisting)
- Bound the retry queues (preexisting)
- Link to v1: https://lore.kernel.org/r/20260909-nl-crossmnt-v1-0-4064b5a3bd85@kernel.org

---
Jeff Layton (11):
      mountd: factor out the per-path export attribute computation
      mountd: handle unmountable paths and junctions in the netlink downcall
      mountd: answer requests the kernel rejects on the netlink downcall
      mountd: don't leak the parent export's fsid onto crossmnt submounts
      mountd: retry unresolvable fsid lookups on the netlink downcall
      mountd: bound the junction path before copying it into e_path
      mountd: give each worker its own netlink command socket
      mountd: retry export attributes that fail to resolve for a passing reason
      mountd: drop a deferred fsid lookup once it has been answered
      mountd: bound the retry queues
      mountd: don't warn about pipefs submounts nobody asked to export

 support/export/cache.c | 1391 +++++++++++++++++++++++++++++++++++++-----------
 1 file changed, 1084 insertions(+), 307 deletions(-)
---
base-commit: 630393e9c73667b3fda6a7507cb5171ec0ec38dc
change-id: 20260908-nl-crossmnt-85584b71c721

Best regards,
-- 
Jeff Layton <jlayton@kernel.org>


^ permalink raw reply	[flat|nested] 14+ messages in thread

end of thread, other threads:[~2026-09-17  7:27 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-09-14 13:14 [PATCH nfs-utils v3 00/11] mountd: bugfixes for up/downcall interfaces Jeff Layton
2026-09-14 13:14 ` [PATCH nfs-utils v3 01/11] mountd: factor out the per-path export attribute computation Jeff Layton
2026-09-14 13:14 ` [PATCH nfs-utils v3 02/11] mountd: handle unmountable paths and junctions in the netlink downcall Jeff Layton
2026-09-14 13:14 ` [PATCH nfs-utils v3 03/11] mountd: answer requests the kernel rejects on " Jeff Layton
2026-09-14 13:14 ` [PATCH nfs-utils v3 04/11] mountd: don't leak the parent export's fsid onto crossmnt submounts Jeff Layton
2026-09-14 13:14 ` [PATCH nfs-utils v3 05/11] mountd: retry unresolvable fsid lookups on the netlink downcall Jeff Layton
2026-09-14 13:14 ` [PATCH nfs-utils v3 06/11] mountd: bound the junction path before copying it into e_path Jeff Layton
2026-09-14 13:14 ` [PATCH nfs-utils v3 07/11] mountd: give each worker its own netlink command socket Jeff Layton
2026-09-14 13:14 ` [PATCH nfs-utils v3 08/11] mountd: retry export attributes that fail to resolve for a passing reason Jeff Layton
2026-09-14 13:14 ` [PATCH nfs-utils v3 09/11] mountd: drop a deferred fsid lookup once it has been answered Jeff Layton
2026-09-14 13:14 ` [PATCH nfs-utils v3 10/11] mountd: bound the retry queues Jeff Layton
2026-09-14 13:14 ` [PATCH nfs-utils v3 11/11] mountd: don't warn about pipefs submounts nobody asked to export Jeff Layton
2026-09-15  9:24 ` [PATCH nfs-utils v3 00/11] mountd: bugfixes for up/downcall interfaces Mantas Mikulėnas
2026-09-17  7:21 ` Steve Dickson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox