summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorKai Mäkisara <Kai.Makisara@kolumbus.fi>2024-11-06 12:57:23 +0300
committerMartin K. Petersen <martin.petersen@oracle.com>2024-11-07 05:18:16 +0300
commita4550b28c8c853e7241ecf30b4f1d9c6bc631fda (patch)
tree1d6142e26a502e1d349950efc2c47c8fc7645ba7 /tools/perf/scripts/python
parent0b120edb37dc9dd8ca82893d386922eb6b16f860 (diff)
downloadlinux-a4550b28c8c853e7241ecf30b4f1d9c6bc631fda.tar.xz
scsi: st: New session only when Unit Attention for new tape
Currently the code starts new tape session when any Unit Attention (UA) is seen when opening the device. This leads to incorrectly clearing pos_unknown when the UA is for reset. Set new session only when the UA is for a new tape. Signed-off-by: Kai Mäkisara <Kai.Makisara@kolumbus.fi> Link: https://lore.kernel.org/r/20241106095723.63254-4-Kai.Makisara@kolumbus.fi Reviewed-by: John Meneghini <jmeneghi@redhat.com> Tested-by: John Meneghini <jmeneghi@redhat.com> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions