Trond Myklebust 8fa4592a14 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 <jlayton@primarydata.com>
Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com>
2015-10-02 15:43:07 -04:00
..
2015-09-07 14:02:24 -07:00
2013-06-08 16:20:18 -04:00
2015-04-23 15:16:14 -04:00
2012-07-30 19:06:41 -04:00
2015-02-03 11:06:34 -08:00
2015-04-23 15:16:14 -04:00
2015-04-23 15:16:14 -04:00
2015-08-25 20:06:56 -04:00
2012-07-30 19:06:52 -04:00
2015-01-30 20:43:30 -05:00
2015-08-20 13:43:53 -05:00
2015-09-23 08:55:32 -04:00
2015-09-23 08:55:32 -04:00