diff options
author | Jens Axboe <[email protected]> | 2017-12-18 15:40:44 +0800 |
---|---|---|
committer | Jens Axboe <[email protected]> | 2017-12-18 13:55:43 -0700 |
commit | 0abc2a10389f0c9070f76ca906c7382788036b93 (patch) | |
tree | 9d1f1b48a3acbff7ed8b1549ebb1cffe3b407b81 /tools/perf/scripts/python/export-to-sqlite.py | |
parent | 14cb0dc6479dc5ebc63b3a459a5d89a2f1b39fed (diff) |
block: fix blk_rq_append_bio
Commit caa4b02476e3(blk-map: call blk_queue_bounce from blk_rq_append_bio)
moves blk_queue_bounce() into blk_rq_append_bio(), but don't consider
the fact that the bounced bio becomes invisible to caller since the
parameter type is 'struct bio *'. Make it a pointer to a pointer to
a bio, so the caller sees the right bio also after a bounce.
Fixes: caa4b02476e3 ("blk-map: call blk_queue_bounce from blk_rq_append_bio")
Cc: Christoph Hellwig <[email protected]>
Reported-by: Michele Ballabio <[email protected]>
(handling failure of blk_rq_append_bio(), only call bio_get() after
blk_rq_append_bio() returns OK)
Tested-by: Michele Ballabio <[email protected]>
Signed-off-by: Ming Lei <[email protected]>
Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions