diff options
author | Bart Van Assche <bvanassche@acm.org> | 2019-11-06 00:55:53 +0300 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2019-11-06 08:06:03 +0300 |
commit | f6b8540f40201bff91062dd64db8e29e4ddaaa9d (patch) | |
tree | 39eb96128b72533f835d4aace4c5cbe9c4e9a0b9 /drivers/target/iscsi/iscsi_target_auth.h | |
parent | aff6ab9e7221c1b5d15418419b9797e5badd4aec (diff) | |
download | linux-f6b8540f40201bff91062dd64db8e29e4ddaaa9d.tar.xz |
scsi: tracing: Fix handling of TRANSFER LENGTH == 0 for READ(6) and WRITE(6)
According to SBC-2 a TRANSFER LENGTH field of zero means that 256 logical
blocks must be transferred. Make the SCSI tracing code follow SBC-2.
Fixes: bf8162354233 ("[SCSI] add scsi trace core functions and put trace points")
Cc: Christoph Hellwig <hch@lst.de>
Cc: Hannes Reinecke <hare@suse.com>
Cc: Douglas Gilbert <dgilbert@interlog.com>
Link: https://lore.kernel.org/r/20191105215553.185018-1-bvanassche@acm.org
Signed-off-by: Bart Van Assche <bvanassche@acm.org>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'drivers/target/iscsi/iscsi_target_auth.h')
0 files changed, 0 insertions, 0 deletions