Skip to content

NLM: convert lockd to kthreads (try #11)

Jeff Layton linux-nfs 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 3 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3SUNRPC: export svc_sock_update_bufsnet/sunrpc/svcsock.c+1 -00 replies
2/3SUNRPC: have svc_recv() check kthread_should_stop()net/sunrpc/svc_xprt.c+22 -23 replies
3/3NLM: Convert lockd to use kthreadsfs/lockd/svc.c fs/lockd/svclock.c+64 -750 replies

Reviews trailers per patch

1 of 3 patches has a Reviewed-by or Acked-by.

PatchNeilBrown
1/3R-b
2/3
3/3

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/3] NLM: convert lockd to kthreads (try #11)

This is try #11 of the conversion of lockd to the kthread API.

The main differences from the last patchset are:

1) the addition of a patch to svc_recv to have it check kthread_should_stop in various places

2) the removal of the send_sig() call from lockd_down

...as Trond cleverly pointed out, if we strategically place a kthread_should_stop call after changing the task state, then we don't need anything else to prevent a long hang in schedule_timeout().

Comments, suggestions or ACK's appreciated...

Thanks,

Jeff Layton <[email protected]>