From: Trond Myklebust Date: Tue, 15 Jan 2008 19:17:12 +0000 (-0500) Subject: NFS: Optimise away the sigmask code in aio/dio reads and writes X-Git-Tag: v2.6.25-rc1~1146^2~8 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f3c391e89c92651105364c6645244118ec9b3952;p=pandora-kernel.git 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 --- Reading git-diff-tree failed