diff options
author | J. Bruce Fields <bfields@citi.umich.edu> | 2010-03-03 19:52:55 (GMT) |
---|---|---|
committer | J. Bruce Fields <bfields@citi.umich.edu> | 2010-04-22 15:34:01 (GMT) |
commit | b5a1a81e5c25fb6bb3fdc1812ba69ff6ab638fcf (patch) | |
tree | c524a75d111f4060eb985161478362ac18c17169 /fs/utimes.c | |
parent | 3c4ab2aaa90826060b1e8d4036f9bb8325f8759e (diff) | |
download | linux-fsl-qoriq-b5a1a81e5c25fb6bb3fdc1812ba69ff6ab638fcf.tar.xz |
nfsd4: don't sleep in lease-break callback
The NFSv4 server's fl_break callback can sleep (dropping the BKL), in
order to allocate a new rpc task to send a recall to the client.
As far as I can tell this doesn't cause any races in the current code,
but the analysis is difficult. Also, the sleep here may complicate the
move away from the BKL.
So, just schedule some work to do the job for us instead. The work will
later also prove useful for restarting a call after the callback
information is changed.
Signed-off-by: J. Bruce Fields <bfields@citi.umich.edu>
Diffstat (limited to 'fs/utimes.c')
0 files changed, 0 insertions, 0 deletions