Skip to content

target: Fixes for v4.12-rc1

Nicholas A. Bellinger linux-scsi lkml 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3target: Fix compare_and_write_callback handling for non GOOD statusdrivers/target/target_core_sbc.c+4 -10 replies
2/3iscsi-target: Set session_fall_back_to_erl0 when forcing reinstatementdrivers/target/iscsi/iscsi_target.c drivers/target/iscsi/iscsi_target_configfs.c drivers/target/iscsi/iscsi_target_login.c+3 -00 replies
3/3target: Don't force session reset if queue_depth does not changedrivers/target/target_core_tpg.c+7 -00 replies

Reviews trailers per patch

None of the 3 patches has a Reviewed-by or Acked-by.

PatchGary Guo
1/3T-b
2/3T-b
3/3T-b

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] target: Fixes for v4.12-rc1

From: Nicholas Bellinger <[email protected]>

Hi all,

Here are a couple of fixes from the last weeks testing while continuing longevity and scale out workloads on v4.x target code.

This series contains three patches. The first is to address a COMPARE_AND_WRITE se_cmd reference leak where the READ phase hits a non GOOD status, observed with ESX VAAI hosts when outstanding READ I/O reaches a point where non SAM_STAT_GOOD status completions start to happen.

The second addresses a hung task bug observed with iscsi-target ports while explicitly changing the active per se_node_acl queue_depth via the existing configfs attribute, if a new iscsi login was already forcing session reinstatement.

And the third to is avoid forcing an session reinstatement if queue_depth is changed via configfs, but the value itself has not changed.

The series has been verified on v4.1.y by DATERA Q/A and automation teams.

Thank you,

--nab

Nicholas Bellinger (3):
target: Fix compare_and_write_callback handling for non GOOD status
iscsi-target: Set session_fall_back_to_erl0 when forcing reinstatement
target: Don't force session reset if queue_depth does not change

 drivers/target/iscsi/iscsi_target.c          | 1 +
 drivers/target/iscsi/iscsi_target_configfs.c | 1 +
 drivers/target/iscsi/iscsi_target_login.c    | 1 +
 drivers/target/target_core_sbc.c             | 5 ++++-
 drivers/target/target_core_tpg.c             | 7 +++++++
 5 files changed, 14 insertions(+), 1 deletion(-)
Signature · 1 line
1.9.1