From: Trond Myklebust Date: Sat, 24 Jan 2015 18:54:37 +0000 (-0500) Subject: NFSv4.1: Optimise layout return-on-close X-Git-Tag: fixes-v4.0-rc1~136^2~36 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=40dd4b7aee1a8c3b8dac7b67ba710692d7691b77;p=pandora-kernel.git 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 --- Reading git-diff-tree failed