linux/fs/nfs/blocklayout
Fred Isaman cd841605f7 NFS: create common nfs_pgio_header for both read and write
In order to avoid duplicating all the data in nfs_read_data whenever we
split it up into multiple RPC calls (either due to a short read result
or due to rsize < PAGE_SIZE), we split out the bits that are the same
per RPC call into a separate "header" structure.

The goal this patch moves towards is to have a single header
refcounted by several rpc_data structures.  Thus, want to always refer
from rpc_data to the header, and not the other way.  This patch comes
close to that ideal, but the directio code currently needs some
special casing, isolated in the nfs_direct_[read_write]hdr_release()
functions.  This will be dealt with in a future patch.

Signed-off-by: Fred Isaman <iisaman@netapp.com>
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
2012-04-27 14:10:37 -04:00
..
blocklayout.c NFS: create common nfs_pgio_header for both read and write 2012-04-27 14:10:37 -04:00
blocklayout.h NFS: replace global bl_wq with per-net one 2012-03-11 10:57:35 -04:00
blocklayoutdev.c NFS: replace global bl_wq with per-net one 2012-03-11 10:57:35 -04:00
blocklayoutdm.c NFS: null dereference in dev_remove() 2012-03-13 15:33:08 -04:00
extents.c NFS: Use kcalloc() when allocating arrays 2012-01-31 19:28:22 -05:00
Makefile pnfsblock: remove device operations 2011-07-31 12:18:16 -04:00