OpenCloudOS-Kernel/fs/nfs/blocklayout
Weston Andros Adamson b4fdac1a51 nfs: modify pg_test interface to return size_t
This is a step toward allowing pg_test to inform the the
coalescing code to reduce the size of requests so they may fit in
whatever scheme the pg_test callback wants to define.

For now, just return the size of the request if there is space, or 0
if there is not.  This shouldn't change any behavior as it acts
the same as when the pg_test functions returned bool.

Signed-off-by: Weston Andros Adamson <dros@primarydata.com>
Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com>
2014-05-29 11:11:43 -04:00
..
Makefile pnfsblock: remove device operations 2011-07-31 12:18:16 -04:00
blocklayout.c nfs: modify pg_test interface to return size_t 2014-05-29 11:11:43 -04:00
blocklayout.h NFS: Enabling v4.2 should not recompile nfsd and lockd 2013-11-19 16:20:40 -05:00
blocklayoutdev.c make blkdev_put() return void 2013-05-07 02:16:31 -04:00
blocklayoutdm.c make blkdev_put() return void 2013-05-07 02:16:31 -04:00
extents.c nfs: fix do_div() warning by instead using sector_div() 2013-12-04 12:57:37 -05:00