NFS: Cleanup of the nfs_pageio code in preparation for a pnfs bugfix
authorTrond Myklebust <Trond.Myklebust@netapp.com>
Fri, 10 Jun 2011 17:30:23 +0000 (13:30 -0400)
committerTrond Myklebust <Trond.Myklebust@netapp.com>
Tue, 12 Jul 2011 17:40:28 +0000 (13:40 -0400)
commit1751c3638f2a07a8c66a803a31791bab9bd3fced
tree5c1f39f879c0a0049c50b4f36a256ba1986d82b2
parentf062eb6ced3b297277b94b4da3113b1d3782e539
NFS: Cleanup of the nfs_pageio code in preparation for a pnfs bugfix

We need to ensure that the layouts are set up before we can decide to
coalesce requests. To do so, we want to further split up the struct
nfs_pageio_descriptor operations into an initialisation callback, a
coalescing test callback, and a 'do i/o' callback.

This patch cleans up the existing callback methods before adding the
'initialisation' callback.

Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
fs/nfs/nfs4filelayout.c
fs/nfs/objlayout/objio_osd.c
fs/nfs/pagelist.c
fs/nfs/pnfs.c
fs/nfs/pnfs.h
fs/nfs/read.c
fs/nfs/write.c
include/linux/nfs_page.h