Skip to content

Move all file-close work for nfsd into nfsd threads

NeilBrown linux-fsdevel linux-nfs lkml oe-kbuild-all 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v2 Latest2 patches 30 repliesIn review

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2Allow a kthread to declare that it calls task_work_run()fs/file_table.c fs/namespace.c include/linux/sched.h +2 more+7 -327 replies
2/2nfsd: Don't leave work of closing files to a work queue.fs/nfsd/filecache.c fs/nfsd/filecache.h fs/nfsd/nfssvc.c+32 -373 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] Move all file-close work for nfsd into nfsd threads

Hi,
here is a revised version of my previous patch titled:
[PATCH/RFC] core/nfsd: allow kernel threads to use task_work.

There are now two patches - one that changes core code to allow nfsd to handle its own __dput calls, and one to make various changes to nfsd.

It would probably make sense for the first patch to land through the
VFS tree, and the second to follow through the NFSD tree, maybe after the relevant rc1 ??

Details of the problem and explanation of the solution are in the individual patches. Thanks for all the review and suggestions.

NeilBrown

[PATCH 1/2] Allow a kthread to declare that it calls task_work_run() [PATCH 2/2] nfsd: Don't leave work of closing files to a work queue.