Skip to content

target: LUN_RESET bugfixes for HW target mode

Nicholas A. Bellinger linux-scsi 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest4 patches 8 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4target: Prevent cmd->se_queue_node double adddrivers/target/target_core_tmr.c drivers/target/target_core_transport.c+16 -171 reply
2/4target: Re-org of core_tmr_lun_reset + FREE_CMD_INTR bugfixdrivers/target/target_core_tmr.c+141 -852 replies
3/4target: Fix transport_cmd_finish_abort queue removal bugdrivers/target/target_core_transport.c+3 -24 replies
4/4target: Prevent transport_send_task_abort when CHECK_CONDITION statusdrivers/target/target_core_transport.c+9 -00 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/4] target: LUN_RESET bugfixes for HW target mode

From: Nicholas Bellinger <[email protected]>

Hi folks,

This patch series addresses a number of issues that have come up recently for TMR LUN_RESET operation with HW target mode + qla2xxx/tcm_qla2xxx code. Aside from the various bugfixes in this series, the big change is the re-org of core_tmr_lun_reset() logic to prevent possible list corruption while scanning the various lists and breaking this out of this code into seperate functions.

I know the re-org patch diff is very difficult to read without more context, so apologies ahead of time for that. At this point it makes sense to queue these for v3.2, and CC stable to ensure they are also picked up for v3.1 target code as well.

Please let us know if you have any comments.

Thank you,

--nab

Nicholas Bellinger (3):
target: Re-org of core_tmr_lun_reset + FREE_CMD_INTR bugfix
target: Fix transport_cmd_finish_abort queue removal bug
target: Prevent transport_send_task_abort when CHECK_CONDITION status

Roland Dreier (1):
target: Prevent cmd->se_queue_node double add

 drivers/target/target_core_tmr.c       |  228 ++++++++++++++++++++------------
 drivers/target/target_core_transport.c |   45 ++++---
 2 files changed, 169 insertions(+), 104 deletions(-)
Signature · 1 line
1.7.2.5