aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/compaction-times.py
diff options
context:
space:
mode:
authorMike Christie <[email protected]>2020-11-20 09:50:59 -0600
committerMichael S. Tsirkin <[email protected]>2020-11-25 04:22:13 -0500
commitb4fffc177fad3c99ee049611a508ca9561bb6871 (patch)
treea86248e2ea711b5cd17a566291412644c9f8d440 /tools/perf/scripts/python/compaction-times.py
parent418baf2c28f3473039f2f7377760bd8f6897ae18 (diff)
vhost scsi: fix lun reset completion handling
vhost scsi owns the scsi se_cmd but lio frees the se_cmd->se_tmr before calling release_cmd, so while with normal cmd completion we can access the se_cmd from the vhost work, we can't do the same with se_cmd->se_tmr. This has us copy the tmf response in vhost_scsi_queue_tm_rsp to our internal vhost-scsi tmf struct for when it gets sent to the guest from our worker thread. Fixes: efd838fec17b ("vhost scsi: Add support for LUN resets.") Signed-off-by: Mike Christie <[email protected]> Acked-by: Stefan Hajnoczi <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Michael S. Tsirkin <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/compaction-times.py')
0 files changed, 0 insertions, 0 deletions