OpenCloudOS-Kernel/include/target
Anastasia Kovaleva 7870d24817 scsi: target: core: Send max transfer length in blocks
A MAXIMUM TRANSFER LENGTH value indicates the maximum transfer length in
logical blocks that the device server accepts for a single command. Fix
function sending the length in sectors instead of blocks.

This patch also removes the special casing for fileio in block_size_store
since this logic in now unified in spc_emulate_evpd_b0() for all backends.

Reviewed-by: Konstantin Shelekhin <k.shelekhin@yadro.com>
Reviewed-by: Dmitriy Bogdanov <d.bogdanov@yadro.com>
Signed-off-by: Anastasia Kovaleva <a.kovaleva@yadro.com>
Link: https://lore.kernel.org/r/20221114102500.88892-2-a.kovaleva@yadro.com
Reviewed-by: Mike Christie <michael.christie@oracle.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
2022-11-24 02:16:19 +00:00
..
iscsi scsi: target: iscsi: Control authentication per ACL 2022-06-07 21:55:11 -04:00
target_core_backend.h scsi: target: Add callout to configure UNMAP settings 2022-07-07 16:53:52 -04:00
target_core_base.h scsi: target: core: Send max transfer length in blocks 2022-11-24 02:16:19 +00:00
target_core_fabric.h scsi: target: core: Add common tpg/enable attribute 2021-10-04 23:27:38 -04:00