• J. Bruce Fields's avatar
    nfsd4: create rpc callback client from server thread · ecdd03b7
    J. Bruce Fields authored
    The code is a little simpler, and it should be easier to avoid races, if
    we just do all rpc client creation/destruction from nfsd or laundromat
    threads and do only the rpc calls themselves asynchronously.  The rpc
    creation doesn't involve any significant waiting (it doesn't call the
    client, for example), so there's no reason not to do this.
    
    Also don't bother destroying the client on failure of the rpc null
    probe.  We may want to retry the probe later anyway.
    Signed-off-by: default avatarJ. Bruce Fields <bfields@citi.umich.edu>
    ecdd03b7
nfs4callback.c 13.5 KB