aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/check-perf-trace.py
diff options
context:
space:
mode:
authorBodo Stroesser <[email protected]>2020-04-09 10:10:26 +0000
committerMartin K. Petersen <[email protected]>2020-04-13 18:03:20 +0000
commit066f79a5fd6d1b9a5cc57b5cd445b3e4bb68a5b2 (patch)
treed43fc4587ad562077706fcffd0e0798878d1d984 /tools/perf/scripts/python/check-perf-trace.py
parentscsi: target: fix PR IN / READ FULL STATUS for FC (diff)
downloadkernel-066f79a5fd6d1b9a5cc57b5cd445b3e4bb68a5b2.tar.gz
kernel-066f79a5fd6d1b9a5cc57b5cd445b3e4bb68a5b2.zip
scsi: target: tcmu: reset_ring should reset TCMU_DEV_BIT_BROKEN
In case command ring buffer becomes inconsistent, tcmu sets device flag TCMU_DEV_BIT_BROKEN. If the bit is set, tcmu rejects new commands from LIO core with TCM_LOGICAL_UNIT_COMMUNICATION_FAILURE, and no longer processes completions from the ring. The reset_ring attribute can be used to completely clean up the command ring, so after reset_ring the ring no longer is inconsistent. Therefore reset_ring also should reset bit TCMU_DEV_BIT_BROKEN to allow normal processing. Link: https://lore.kernel.org/r/[email protected] Acked-by: Mike Christie <[email protected]> Signed-off-by: Bodo Stroesser <[email protected]> Signed-off-by: Martin K. Petersen <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/check-perf-trace.py')
0 files changed, 0 insertions, 0 deletions