NFSv4.1: unify pnfs_pageio_init functions
authorBenny Halevy <bhalevy@panasas.com>
Wed, 25 May 2011 17:25:22 +0000 (20:25 +0300)
committerBoaz Harrosh <bharrosh@panasas.com>
Sun, 29 May 2011 17:56:43 +0000 (20:56 +0300)
commitdfed206b8857d41a91ebba030f99e30017a44dda
treeac4c161b548e872e92da36499a2e8c28f5a34aeb
parenta0fe8bf427f4987d7b82678292ca03cfd7331467
NFSv4.1: unify pnfs_pageio_init functions

Use common code for pnfs_pageio_init_{read,write} and use
a common generic pg_test function.

Note that this function always assumes the the layout driver's
pg_test method is implemented.

[Fix BUG]
Signed-off-by: Boaz Harrosh <bharrosh@panasas.com>
Signed-off-by: Benny Halevy <bhalevy@panasas.com>
fs/nfs/pagelist.c
fs/nfs/pnfs.c
fs/nfs/pnfs.h
fs/nfs/read.c
fs/nfs/write.c