aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/netdev-times.py
diff options
context:
space:
mode:
authorJavier González <[email protected]>2017-10-13 14:46:03 +0200
committerJens Axboe <[email protected]>2017-10-13 08:34:57 -0600
commitcd8ddbf7a5e206fe6995ab0aee245d597dd6a7f2 (patch)
treee9570b8beb9c4750199de7b40769546321a5eb93 /tools/perf/scripts/python/netdev-times.py
parent7d327a9ed6c4dca341ebf99012e0a6b80a3050e6 (diff)
lightnvm: pblk: free padded entries in write buffer
When a REQ_FLUSH reaches pblk, the bio cannot be directly completed. Instead, data on the write buffer is flushed and the bio is completed on the completion pah. This might require some sectors to be padded in order to guarantee a successful write. This patch fixes a memory leak on the padded pages. A consequence of this bad free was that internal bios not containing data (only a flush) were not being completed. Fixes: a4bd217b4326 ("lightnvm: physical block device (pblk) target") Signed-off-by: Javier González <[email protected]> Signed-off-by: Matias Bjørling <[email protected]> Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/netdev-times.py')
0 files changed, 0 insertions, 0 deletions