Skip to content

nfsd: fix handling of error from unshare_fs_struct()

NeilBrown linux-nfs 2 versions Applied

Status from this message: Applied to nfsd-next (for 6.12) and pushed. Thanks!

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest2 patches 4 repliesApplied
  2. v12 patches 7 repliesSuperseded

Patches in v2 Applied

#Subject and filesSizeRepliesApplied
1/2sunrpc: merge svc_rqst_alloc() into svc_prepare_thread()net/sunrpc/svc.c+7 -180 replies
2/2sunrpc: allow svc threads to fail initialisation cleanlyfs/lockd/svc.c fs/nfs/callback.c fs/nfsd/nfssvc.c +2 more+46 -63 replies

Reviews trailers per patch

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

Read the v2 thread

Cover letter [PATCH 0/2 v2] nfsd: fix handling of error from unshare_fs_struct()

This v2 applies correctly to git/cel/linux#master.

These two patches replace my previous patch:
[PATCH 07/14] Change unshare_fs_struct() to never fail.

I had explored ways to change kthread_create() to avoid the need for GFP_NOFAIL and concluded that we can do everything we need in the sunrpc layer. So the first patch here is a simple cleanup, and the second adds simple infrastructure for an svc thread to confirm that it has started up and to report if it was successful in that.

Thanks,
NeilBrown

[PATCH 1/2] sunrpc: merge svc_rqst_alloc() into svc_prepare_thread() [PATCH 2/2] sunrpc: allow svc threads to fail initialisation cleanly