diff options
| author | Yang Xiuwei <yangxiuwei@kylinos.cn> | 2026-07-07 11:03:33 +0800 |
|---|---|---|
| committer | Martin K. Petersen (Oracle) <mkp@kernel.org> | 2026-08-07 13:13:17 -0400 |
| commit | a640d4546b11be5709a82bdc63d7dafd8ddc6c9e (patch) | |
| tree | 75b2bfe2372a0f1953f79e7c25a0a9c18cca0b80 /tools/perf/scripts/python/flamegraph.py | |
| parent | bb31844d88b77138b67aa20c3600203baff40140 (diff) | |
scsi: sd: Fix sd_done() sense handling condition
Only enter the sense_key switch when the command returned CHECK
CONDITION with valid, non-deferred sense. The old condition let deferred
or invalid sense fall through and mis-handle the I/O.
Fixes: 03aba2f79594 ("[SCSI] sd/scsi_lib simplify sd_rw_intr and scsi_io_completion")
Reviewed-by: Damien Le Moal <dlemoal@kernel.org>
Signed-off-by: Yang Xiuwei <yangxiuwei@kylinos.cn>
Reviewed-by: Bart Van Assche <bvanassche@acm.org>
Link: https://patch.msgid.link/20260707030333.22245-4-yangxiuwei@kylinos.cn
Signed-off-by: Martin K. Petersen (Oracle) <mkp@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/flamegraph.py')
0 files changed, 0 insertions, 0 deletions
