diff options
author | Hannes Reinecke <[email protected]> | 2019-04-30 18:57:09 +0200 |
---|---|---|
committer | Christoph Hellwig <[email protected]> | 2019-05-01 09:17:15 -0400 |
commit | 525aa5a705d86e193726ee465d1a975265fabf19 (patch) | |
tree | 5686fda24fccbdb0b8f04d3e784974e0e555cb8c /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | f34e25898a608380a60135288019c4cb6013bec8 (diff) |
nvme-multipath: split bios with the ns_head bio_set before submitting
If the bio is moved to a different queue via blk_steal_bios() and
the original queue is destroyed in nvme_remove_ns() we'll be ending
with a crash in bio_endio() as the mempool for the split bio bvecs
had already been destroyed.
So split the bio using the original queue (which will remain during the
lifetime of the bio) before sending it down to the underlying device.
Signed-off-by: Hannes Reinecke <[email protected]>
Reviewed-by: Ming Lei <[email protected]>
Signed-off-by: Christoph Hellwig <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions