mbox series

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

Message ID 20240729212217.30747-1-neilb@suse.de (mailing list archive)
Headers show
Series nfsd: fix handling of error from unshare_fs_struct() | expand

Message

NeilBrown July 29, 2024, 9:19 p.m. UTC
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

Comments

Chuck Lever III July 29, 2024, 9:47 p.m. UTC | #1
On Tue, Jul 30, 2024 at 07:19:40AM +1000, NeilBrown wrote:
> 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

Applied to nfsd-next (for 6.12) and pushed. Thanks!