diff options
author | J. Bruce Fields <bfields@citi.umich.edu> | 2009-02-24 04:35:22 +0100 |
---|---|---|
committer | J. Bruce Fields <bfields@citi.umich.edu> | 2009-04-29 22:44:53 +0200 |
commit | ecdd03b7914c91ef849e49c4d466c87f4981b5cd (patch) | |
tree | 16d67b4af0e8545f60e31f0b1f9cfb0f97526641 /kernel | |
parent | nfsd4: set cb_client inside setup_callback_client (diff) | |
download | linux-ecdd03b7914c91ef849e49c4d466c87f4981b5cd.tar.xz linux-ecdd03b7914c91ef849e49c4d466c87f4981b5cd.zip |
nfsd4: create rpc callback client from server thread
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: J. Bruce Fields <bfields@citi.umich.edu>
Diffstat (limited to 'kernel')
0 files changed, 0 insertions, 0 deletions