diff options
author | Guixin Liu <kanie@linux.alibaba.com> | 2025-03-13 04:47:27 +0300 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2025-03-18 05:04:21 +0300 |
commit | 1909b643034ef741af9f24a57ab735440c4b5d1a (patch) | |
tree | e96d1e1154ed58ac7380e0344dc344fdbdf7079f /rust/helpers/helpers.c | |
parent | 040492ac2578b66d3ff4dcefb4f56811634de53d (diff) | |
download | linux-1909b643034ef741af9f24a57ab735440c4b5d1a.tar.xz |
scsi: target: tcm_loop: Fix wrong abort tag
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: 6375f8908255 ("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>
Diffstat (limited to 'rust/helpers/helpers.c')
0 files changed, 0 insertions, 0 deletions