diff options
author | 2020-11-20 09:50:59 -0600 | |
---|---|---|
committer | 2020-11-25 04:22:13 -0500 | |
commit | b4fffc177fad3c99ee049611a508ca9561bb6871 (patch) | |
tree | a86248e2ea711b5cd17a566291412644c9f8d440 /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | Linux 5.10-rc5 (diff) | |
download | wireguard-linux-b4fffc177fad3c99ee049611a508ca9561bb6871.tar.xz wireguard-linux-b4fffc177fad3c99ee049611a508ca9561bb6871.zip |
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 <michael.christie@oracle.com>
Acked-by: Stefan Hajnoczi <stefanha@redhat.com>
Link: https://lore.kernel.org/r/1605887459-3864-1-git-send-email-michael.christie@oracle.com
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions