Skip to content

target: Miscellaneous bug-fixes for >= v4.10

Nicholas A. Bellinger linux-scsi lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest5 patches 9 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5target: Don't BUG_ON during NodeACL dynamic -> explicit conversiondrivers/target/target_core_device.c+12 -42 replies
2/5target: Use correct SCSI status during EXTENDED_COPY exceptiondrivers/target/target_core_xcopy.c+1 -11 reply
3/5target: Fix early transport_generic_handle_tmr abort scenariodrivers/target/target_core_transport.c+15 -21 reply
4/5target: Fix multi-session dynamic se_node_acl double free OOPsdrivers/target/target_core_tpg.c drivers/target/target_core_transport.c include/target/target_core_base.h+46 -284 replies
5/5target: Fix COMPARE_AND_WRITE ref leak for non GOOD statusdrivers/target/target_core_sbc.c+6 -21 reply

Reviews trailers per patch

4 of 5 patches have a Reviewed-by or Acked-by.

PatchNixon VincentRob MillnerGary GuoChristoph Hellwig
1/5R-b
2/5T-b R-b
3/5T-b R-b
4/5T-b
5/5T-b R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 4 reviewers.

Read the v1 thread

Cover letter [PATCH 0/5] target: Miscellaneous bug-fixes for >= v4.10

From: Nicholas Bellinger <[email protected]>

Hi all,

This series contains a handful of bug-fixes that I've been validating on v4.1.y code for production usage over the past couple of months.

All of these are long-standing issues that I don't think other folks have been able to hit (or at least not reported), but have been reproduced by Datera's QA team and/or have been reported by customers.

Most of the patches are straight-forward fixes have been running in Datera's nightly automation for weeks to months.

The one exception in patch #1 is a >= v4.2 RCU regression bug-fix reported by Benjamin Estrabaud a while back, that re-instates pre RCU conversion logic that kills a bogus BUG_ON() during dynamic -> explicit se_node_acl conversion.

Please review.

--nab

Nicholas Bellinger (5):
target: Don't BUG_ON during NodeACL dynamic -> explicit conversion
target: Use correct SCSI status during EXTENDED_COPY exception
target: Fix early transport_generic_handle_tmr abort scenario
target: Fix multi-session dynamic se_node_acl double free OOPs
target: Fix COMPARE_AND_WRITE ref leak for non GOOD status

 drivers/target/target_core_device.c    | 16 +++++--
 drivers/target/target_core_sbc.c       |  8 +++-
 drivers/target/target_core_tpg.c       |  4 +-
 drivers/target/target_core_transport.c | 86 +++++++++++++++++++++++-----------
 drivers/target/target_core_xcopy.c     |  2 +-
 include/target/target_core_base.h      |  1 +
 6 files changed, 80 insertions(+), 37 deletions(-)
Signature · 1 line
1.9.1