NLM: have server-side RPC clients default to soft RPC tasks
authorJeff Layton <jlayton@redhat.com>
Wed, 6 Feb 2008 16:34:11 +0000 (11:34 -0500)
committerJ. Bruce Fields <bfields@citi.umich.edu>
Sun, 10 Feb 2008 23:09:36 +0000 (18:09 -0500)
commit90bd17c87821fe0e055e0f9a7446c2875f31eb4c
tree21524f248ed516570dcc1a0f6a66a74e3a275e95
parent031fd3aa20fcf6d1862ea7814ee8b2caf36c0d78
NLM: have server-side RPC clients default to soft RPC tasks

Now that it no longer does an RPC ping, lockd always ends up queueing
an RPC task for the GRANT_MSG callback. But, it also requeues the block
for later attempts. Since these are hard RPC tasks, if the client we're
calling back goes unresponsive the GRANT_MSG callbacks can stack up in
the RPC queue.

Fix this by making server-side RPC clients default to soft RPC tasks.
lockd requeues the block anyway, so this should be OK.

Signed-off-by: Jeff Layton <jlayton@redhat.com>
Signed-off-by: J. Bruce Fields <bfields@citi.umich.edu>
fs/lockd/host.c