aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/syscall-counts.py
diff options
context:
space:
mode:
authorNeilBrown <[email protected]>2017-06-18 14:38:58 +1000
committerJens Axboe <[email protected]>2017-06-18 12:40:59 -0600
commitb25d52379ad87800a93311c42e36f8dd1d7d8e98 (patch)
tree7bf333a9a4dc42d1f143b8cc8ee249bdb7d3563b /tools/perf/scripts/python/syscall-counts.py
parenta1d91404cb69daee07282b331ce58c4ab2e7a620 (diff)
lightnvm/pblk-read: use bio_clone_fast()
pblk_submit_read() uses bio_clone_bioset() but doesn't change the io_vec, so bio_clone_fast() is a better choice. It also uses fs_bio_set which is intended for filesystems. Using it in a device driver can deadlock. So allocate a new bioset, and and use bio_clone_fast(). Reviewed-by: Christoph Hellwig <[email protected]> Reviewed-by: Javier González <[email protected]> Tested-by: Javier González <[email protected]> Signed-off-by: NeilBrown <[email protected]> Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions