OpenCloudOS-Kernel/fs/nfs/blocklayout
Peng Tao 7c5465d6cc pnfsblock: alloc short extent before submit bio
As discussed earlier, it is better for block client to allocate memory for
tracking extents state before submitting bio. So the patch does it by allocating
a short_extent for every INVALID extent touched by write pagelist and for
every zeroing page we created, saving them in layout header. Then in end_io we
can just use them to create commit list items and avoid memory allocation there.

Signed-off-by: Peng Tao <peng_tao@emc.com>
Signed-off-by: Benny Halevy <bhalevy@tonian.com>
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
2012-01-12 16:52:10 -05:00
..
Makefile pnfsblock: remove device operations 2011-07-31 12:18:16 -04:00
blocklayout.c pnfsblock: alloc short extent before submit bio 2012-01-12 16:52:10 -05:00
blocklayout.h pnfsblock: alloc short extent before submit bio 2012-01-12 16:52:10 -05:00
blocklayoutdev.c SUNRPC/NFS: make rpc pipe upcall generic 2011-10-18 09:08:12 -07:00
blocklayoutdm.c pnfsblock: remove device operations 2011-07-31 12:18:16 -04:00
extents.c pnfsblock: alloc short extent before submit bio 2012-01-12 16:52:10 -05:00