aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorPeng Tao <[email protected]>2012-01-12 23:18:46 +0800
committerTrond Myklebust <[email protected]>2012-01-12 16:52:10 -0500
commit7c5465d6ccd759caa959828e2add5603518dafc4 (patch)
tree0d7a8dff18b667da2d2d1394c8e4585e7e098920 /tools/perf/scripts/python
parentc0411a94a8f318379464e29dd81db806249dbca6 (diff)
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 <[email protected]> Signed-off-by: Benny Halevy <[email protected]> Signed-off-by: Trond Myklebust <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions