NFSv4: Ensure the callback daemon flushes signals
commit1dd761e9070aa2e543df3db41bd75ed4b8f2fab9
authorTrond Myklebust <Trond.Myklebust@netapp.com>
Mon, 20 Mar 2006 18:44:49 +0000 (20 13:44 -0500)
committerTrond Myklebust <Trond.Myklebust@netapp.com>
Mon, 20 Mar 2006 18:44:49 +0000 (20 13:44 -0500)
tree7709d032855e0e821f3ff4ce9efc3bdb82bf4d2d
parent5428154827c2bf7cfdc9dab60db1e0eaa57c027a
NFSv4: Ensure the callback daemon flushes signals

If the callback daemon is signalled, but is unable to exit because it still
has users, then we need to flush signals. If not, then svc_recv() can
never sleep, and so we hang.
If we flush signals, then we also have to be prepared to resend them when
we want the thread to exit.

Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
fs/nfs/callback.c