Centos-kernel-stream-9/drivers/target/loopback
Maurizio Lombardi 919b12b71a scsi: target: tcm_loop: Fix wrong abort tag
JIRA: https://issues.redhat.com/browse/RHEL-93481

When the tcm_loop_nr_hw_queues is set to a value greater than 1, the
tags of requests in the block layer are no longer unique. This may lead
to erroneous aborting of commands with the same tag. The issue can be
resolved by using blk_mq_unique_tag to generate globally unique
identifiers by combining the hardware queue index and per-queue tags.

Fixes: 6375f89082 ("tcm_loop: Fixup tag handling")
Signed-off-by: Guixin Liu <kanie@linux.alibaba.com>
Link: https://lore.kernel.org/r/20250313014728.105849-1-kanie@linux.alibaba.com
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
(cherry picked from commit 1909b643034ef741af9f24a57ab735440c4b5d1a)
Signed-off-by: Maurizio Lombardi <mlombard@redhat.com>
2025-05-26 12:00:31 +02:00
..
Kconfig
Makefile
tcm_loop.c scsi: target: tcm_loop: Fix wrong abort tag 2025-05-26 12:00:31 +02:00
tcm_loop.h scsi: target: tcm_loop: Use LIO wq cmd submission helper 2021-03-04 17:37:02 -05:00