• J
    nfsd4: don't sleep in lease-break callback · b5a1a81e
    J. Bruce Fields 提交于
    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: NJ. Bruce Fields <bfields@citi.umich.edu>
    b5a1a81e
nfs4state.c 107.8 KB