diff options
| author | Nicholas Bellinger <[email protected]> | 2016-10-31 07:54:40 +0000 |
|---|---|---|
| committer | Nicholas Bellinger <[email protected]> | 2017-02-08 15:46:54 +0000 |
| commit | 0583c261e6325f392c1f7a1b9112e31298e1a4bd (patch) | |
| tree | 48819bdd2a955fb1e279c7aa1d13bd2551efc2cc /drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c | |
| parent | target: Don't BUG_ON during NodeACL dynamic -> explicit conversion (diff) | |
| download | kernel-0583c261e6325f392c1f7a1b9112e31298e1a4bd.tar.gz kernel-0583c261e6325f392c1f7a1b9112e31298e1a4bd.zip | |
target: Use correct SCSI status during EXTENDED_COPY exception
This patch adds the missing target_complete_cmd() SCSI status
parameter change in target_xcopy_do_work(), that was originally
missing in commit 926317de33.
It correctly propigates up the correct SCSI status during
EXTENDED_COPY exception cases, instead of always using the
hardcoded SAM_STAT_CHECK_CONDITION from original code.
This is required for ESX host environments that expect to
hit SAM_STAT_RESERVATION_CONFLICT for certain scenarios,
and SAM_STAT_CHECK_CONDITION results in non-retriable
status for these cases.
Reported-by: Nixon Vincent <[email protected]>
Tested-by: Nixon Vincent <[email protected]>
Cc: Nixon Vincent <[email protected]>
Reviewed-by: Christoph Hellwig <[email protected]>
Cc: [email protected] # 3.14+
Signed-off-by: Nicholas Bellinger <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c')
0 files changed, 0 insertions, 0 deletions
