]> git.baikalelectronics.ru Git - kernel.git/commit
nfs: page group syncing in write path
authorWeston Andros Adamson <dros@primarydata.com>
Thu, 15 May 2014 15:56:47 +0000 (11:56 -0400)
committerTrond Myklebust <trond.myklebust@primarydata.com>
Thu, 29 May 2014 15:11:45 +0000 (11:11 -0400)
commitc11540d732b8041d4abc17c72b8103e0cf7fb7ac
tree33f23c3c0043376a6636367ec64c2962131c7dd9
parent091969f43360da3fa016ecf1a9e78e5b55135285
nfs: page group syncing in write path

Operations that modify state for a whole page must be syncronized across
all requests within a page group. In the write path, this is calling
end_page_writeback and removing the head request from an inode.
Both of these operations should not be called until all requests
in a page group have reached the point where they would call them.

This patch should have no effect yet since all page groups currently
have one request, but will come into play when pg_test functions are
modified to split pages into sub-page regions.

Signed-off-by: Weston Andros Adamson <dros@primarydata.com>
Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com>
fs/nfs/pagelist.c
fs/nfs/write.c
include/linux/nfs_page.h