target: Bug-fixes for v4.9-rc1
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest3 patches 1 replyIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | target: Re-add missing SCF_ACK_KREF assignment in v4.1.ydrivers/ | +3 | 0 replies | |
| 2/3 | target: Make EXTENDED_COPY 0xe4 failure return COPY TARGET DEVICE NOT REACHABLEdrivers/ drivers/ include/ | +24 | 0 replies | |
| 3/3 | target: Don't override EXTENDED_COPY xcopy_pt_cmd SCSI status codedrivers/ | +12 | 0 replies |
Reviews trailers per patch
None of the 3 patches has a Reviewed-by or Acked-by.
| Patch | Nixon Vincent | Dinesh Israni | Vaibhav Tandon |
|---|---|---|---|
| 1/3 | T-b | ||
| 2/3 | T-b | T-b | |
| 3/3 | T-b | T-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 3 reviewers.
Cover letter [PATCH 0/3] target: Bug-fixes for v4.9-rc1
From: Nicholas Bellinger <[email protected]>
Hi folks,
Here are three outstanding target bug-fixes encountered during failure and longevity testing with v4.1.y code.
The patch #1 is a v4.1+ regression where the missing upstream assignment of SCF_ACK_KREF results in se_cmd->cmd_kref leakage during TMR ABORT_TASK + LUN_RESET with concurrent session reinstatement. v4.0 and earlier code is not effected.
The latter two address long-standing EXTENDED_COPY status bugs, that can result in ESX hosts failing VAAI BlockCopy operations.
Patch #2 adds COPY TARGET DEVICE NOT REACHABLE during 0xe4 target descriptor NAA IEEE 0x83 /sys/kernel/config/target/core/ device lookup failure, in order to signal local copy fallback to host.
Patch #3 propigates up correct local copy I/O SCSI status (eg: RESERVATION_CONFLICT) to host.
Please review.
--nab
Dinesh Israni (1):
target: Don't override EXTENDED_COPY xcopy_pt_cmd SCSI status code
Nicholas Bellinger (2):
target: Re-add missing SCF_ACK_KREF assignment in v4.1.y
target: Make EXTENDED_COPY 0xe4 failure return COPY TARGET DEVICE NOT
REACHABLE
drivers/target/target_core_transport.c | 11 ++++++++++- drivers/target/target_core_xcopy.c | 34 ++++++++++++++++++++++++++-------- include/target/target_core_base.h | 1 + 3 files changed, 37 insertions(+), 9 deletions(-)
Signature · 1 line
1.9.1