Weston Andros Adamson cb1410c71e NFS: fix subtle change in COMMIT behavior
Recent work in the pgio layer made it possible for there to be more than one
request per page. This caused a subtle change in commit behavior, because
write.c:nfs_commit_unstable_pages compares the number of *pages* waiting for
writeback against the number of requests on a commit list to choose when to
send a COMMIT in a non-blocking flush.

This is probably hard to hit in normal operation - you have to be using
rsize/wsize < PAGE_SIZE, or pnfs with lots of boundaries that are not page
aligned to have a noticeable change in behavior.

Signed-off-by: Weston Andros Adamson <dros@primarydata.com>
Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com>
2014-11-24 17:00:42 -05:00
..
2013-06-08 16:20:18 -04:00
2013-11-15 13:41:43 -05:00
2014-09-30 16:24:56 -04:00
2012-07-30 19:06:41 -04:00
2014-10-18 12:52:08 -07:00
2014-09-30 16:24:56 -04:00
2014-09-30 16:24:56 -04:00
2012-07-30 19:06:52 -04:00
2014-06-24 18:47:00 -04:00
2014-06-25 19:01:27 -04:00