Skip to content

Make aborts work on tcm_qla2xxx, other cleanups

Roland Dreier linux-scsi 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest4 patches 2 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4target: Fix handling of aborted commandsdrivers/target/target_core_transport.c+4 -20 replies
2/4qla2xxx: Look up LUN for abort requestsdrivers/scsi/qla2xxx/qla_target.c+18 -11 reply
3/4target: Clean up logic in transport_put_cmd()drivers/target/target_core_transport.c+4 -60 replies
4/4target: Clean up flow in transport_check_aborted_status()drivers/target/target_core_transport.c+10 -140 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] Make aborts work on tcm_qla2xxx, other cleanups

From: Roland Dreier <[email protected]>

Hi Nic,

Here's a series that makes aborts actually work on qla2xxx. Stopping and releasing commands is quite convoluted so I'm not sure the first patch is totally correct, but without it I can easily reproduce task hangs or list corruption by having an initiator flood a tcm_qla2xxx target with aborts. With those fixes, Steve's patch is pretty straightforward.

The last two patches are just cleanups I noticed while debugging this.

Just to be clear: to the extent that this is copyrightable work, it is released exclusively under the GPL. No permission is granted to redistribute this under any other terms.

- R.

Roland Dreier (3):
target: Fix handling of aborted commands
target: Clean up logic in transport_put_cmd()
target: Clean up flow in transport_check_aborted_status()

Steve Hodgson (1):
qla2xxx: Look up LUN for abort requests

 drivers/scsi/qla2xxx/qla_target.c      |   19 ++++++++++++++-
 drivers/target/target_core_transport.c |   40 ++++++++++++++------------------
 2 files changed, 36 insertions(+), 23 deletions(-)
Signature · 1 line
1.7.10.4