From: Trond Myklebust Date: Thu, 1 Oct 2015 22:38:27 +0000 (-0400) Subject: NFS: Fix a write performance regression X-Git-Tag: omap-for-v4.3/fixes-rc5~34^2~6 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8fa4592a14ebb3c22a21d846d1e4f65dab7d1a7c;p=pandora-kernel.git NFS: Fix a write performance regression If all other conditions in nfs_can_extend_write() are met, and there are no locks, then we should be able to assume close-to-open semantics and the ability to extend our write to cover the whole page. With this patch, the xfstests generic/074 test completes in 242s instead of >1400s on my test rig. Fixes: bd61e0a9c852 ("locks: convert posix locks to file_lock_context") Cc: Jeff Layton Signed-off-by: Trond Myklebust --- Reading git-diff-tree failed