Skip to content
Commit f3c391e8 authored by Trond Myklebust's avatar Trond Myklebust
Browse files

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: default avatarTrond Myklebust <Trond.Myklebust@netapp.com>
parent 34f5b466
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment