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

Operations that modify state for a whole page must be syncronized across
all requests within a page group. In the read path, this is calling
unlock_page and SetPageUptodate. Both of these functions 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/read.c
include/linux/nfs_page.h