Skip to content

scsi: target: se_cmd cleanups and race fix

David Disseldorp target-devel 1 version Applied

Status from this message: Applied to 5.15/scsi-staging, thanks!

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 3 repliesApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/3scsi: target: avoid using lun_tg_pt_gp after unlockdrivers/target/target_core_alua.c+5 -50 replies
2/3scsi: target: sbp: drop incorrect asc/ascq usagedrivers/target/sbp/sbp_target.c+2 -20 replies
3/3scsi: target: drop unnecessary se_cmd asc/ascq membersdrivers/target/target_core_alua.c drivers/target/target_core_transport.c include/target/target_core_base.h+60 -670 replies

Reviews trailers per patch

None of the 3 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchMike Christie
SeriesR-b
1/3
2/3
3/3

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/3] scsi: target: se_cmd cleanups and race fix

While looking into XCOPY sense propagation issues (see Sergey's patchset), I came across some se_cmd members which are unneeded. This series also carries a fix for a theoretical lun_tg_pt_gp race condition.

Cheers, David

 drivers/target/sbp/sbp_target.c        |  4 +-
 drivers/target/target_core_alua.c      | 94 ++++++++++----------------
 drivers/target/target_core_transport.c | 33 ++++++---
 include/target/target_core_base.h      |  8 ++-
 4 files changed, 66 insertions(+), 73 deletions(-)