diff options
author | Jeff Layton <jlayton@redhat.com> | 2008-02-07 22:34:55 +0100 |
---|---|---|
committer | J. Bruce Fields <bfields@citi.umich.edu> | 2008-04-23 22:13:36 +0200 |
commit | d751a7cd0695554498f25d3026ca6710dbb3698f (patch) | |
tree | 31ec617dfb9fb70160bb8d2d9c9fd2e5c1e50c15 /fs/nfsd/export.c | |
parent | SUNRPC: have svc_recv() check kthread_should_stop() (diff) | |
download | linux-d751a7cd0695554498f25d3026ca6710dbb3698f.tar.xz linux-d751a7cd0695554498f25d3026ca6710dbb3698f.zip |
NLM: Convert lockd to use kthreads
Have lockd_up start lockd using kthread_run. With this change,
lockd_down now blocks until lockd actually exits, so there's no longer
need for the waitqueue code at the end of lockd_down. This also means
that only one lockd can be running at a time which simplifies the code
within lockd's main loop.
This also adds a check for kthread_should_stop in the main loop of
nlmsvc_retry_blocked and after that function returns. There's no sense
continuing to retry blocks if lockd is coming down anyway.
Signed-off-by: Jeff Layton <jlayton@redhat.com>
Signed-off-by: J. Bruce Fields <bfields@citi.umich.edu>
Diffstat (limited to 'fs/nfsd/export.c')
0 files changed, 0 insertions, 0 deletions