summaryrefslogtreecommitdiffstats
path: root/net/sunrpc/sched.c
diff options
context:
space:
mode:
authorTrond Myklebust2015-01-24 19:54:37 +0100
committerTrond Myklebust2015-01-25 00:46:48 +0100
commit40dd4b7aee1a8c3b8dac7b67ba710692d7691b77 (patch)
tree43d0c0de69e2d95331f62e1150dcfab70f5ec5b2 /net/sunrpc/sched.c
parentNFSv4.1: Allow parallel LOCK/LOCKU calls (diff)
downloadkernel-qcow2-linux-40dd4b7aee1a8c3b8dac7b67ba710692d7691b77.tar.gz
kernel-qcow2-linux-40dd4b7aee1a8c3b8dac7b67ba710692d7691b77.tar.xz
kernel-qcow2-linux-40dd4b7aee1a8c3b8dac7b67ba710692d7691b77.zip
NFSv4.1: Optimise layout return-on-close
Optimise the layout return on close code by ensuring that 1) Add a check for whether we hold a layout before taking any spinlocks 2) Only take the spin lock once 3) Use nfs_state->state to speed up open file checks Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com>
Diffstat (limited to 'net/sunrpc/sched.c')
0 files changed, 0 insertions, 0 deletions