diff options
author | Martin K. Petersen <[email protected]> | 2018-12-04 20:58:33 -0500 |
---|---|---|
committer | Martin K. Petersen <[email protected]> | 2018-12-07 22:39:46 -0500 |
commit | 60a89a3ce0cce515dc663bc1b45ac89202ad6c79 (patch) | |
tree | 1965de161eed04cc1e72eb114b5889e943a4c9fb /drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c | |
parent | 9ae4f8420ed7be4b13c96600e3568c144d101a23 (diff) |
scsi: t10-pi: Return correct ref tag when queue has no integrity profile
Commit ddd0bc756983 ("block: move ref_tag calculation func to the block
layer") moved ref tag calculation from SCSI to a library function. However,
this change broke returning the correct ref tag for devices operating in
DIF mode since these do not have an associated block integrity profile.
This in turn caused read/write failures on PI-formatted disks attached to
an mpt3sas controller.
Fixes: ddd0bc756983 ("block: move ref_tag calculation func to the block layer")
Cc: [email protected] # 4.19+
Reported-by: John Garry <[email protected]>
Tested-by: Xiang Chen <[email protected]>
Signed-off-by: Martin K. Petersen <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c')
0 files changed, 0 insertions, 0 deletions