diff options
author | Roman Bolshakov <r.bolshakov@yadro.com> | 2020-12-03 11:20:33 +0300 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2021-01-26 23:12:18 -0500 |
commit | eb90e45542b583c3647e032fba9348a74adfcb59 (patch) | |
tree | c8132462183b76539606f0db15d3028655a0fb91 /Documentation/input | |
parent | cd96fe600cc4924d8d0cc6e3161870219c0d2c12 (diff) | |
download | linux-eb90e45542b583c3647e032fba9348a74adfcb59.tar.bz2 |
scsi: target: core: Set residuals for 4Kn devices
TCM always fails SBC commands with residuals for 4Kn devices when the
command is processed by sbc_parse_cdb(). That prevents residual signalling
to the transport driver because residual kind and residual amount aren't
set. It also makes residual handling different from 512-byte formatted
devices - if there are residuals 512-byte LUN would proceed with command
execution while 4K-byte LUN would fail.
Link: https://lore.kernel.org/r/20201203082035.54566-2-a.kovaleva@yadro.com
Based-on: https://patchwork.kernel.org/project/target-devel/patch/20170523234854.21452-31-bart.vanassche@sandisk.com/
Based-on-patch-by: Bart Van Assche <bvanassche@acm.org>
Signed-off-by: Roman Bolshakov <r.bolshakov@yadro.com>
Signed-off-by: Konstantin Vinogradov <k.vinogradov@yadro.com>
Signed-off-by: Anastasia Kovaleva <a.kovaleva@yadro.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'Documentation/input')
0 files changed, 0 insertions, 0 deletions