diff options
author | Trond Myklebust <Trond.Myklebust@netapp.com> | 2008-01-15 20:17:12 +0100 |
---|---|---|
committer | Trond Myklebust <Trond.Myklebust@netapp.com> | 2008-01-30 08:06:10 +0100 |
commit | f3c391e89c92651105364c6645244118ec9b3952 (patch) | |
tree | 248ea7f3f5244b4f00acc8b1f36c57324b61ff31 /fs/nfs/nfs4proc.c | |
parent | SUNRPC: Don't bother changing the sigmask for asynchronous RPC calls (diff) | |
download | linux-f3c391e89c92651105364c6645244118ec9b3952.tar.xz linux-f3c391e89c92651105364c6645244118ec9b3952.zip |
NFS: Optimise away the sigmask code in aio/dio reads and writes
There are no interruptible waits for asynchronous RPC tasks, so we don't
need to wrap calls to rpc_run_task() with an
rpc_clnt_sigmask/rpc_clnt_unsigmask pair.
Instead we can wrap the wait_for_completion_interruptible() in
nfs_direct_wait(). This means that we completely optimise away sigmask
setting for the case of non-blocking aio/dio.
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions