Spdk/lib/scsi
Daniel Verkamp 0b1bbb4532 scsi_bdev: add Maximum Transfer Length check
We report SPDK_WORK_BLOCK_SIZE (1 MiB) as the Maximum Transfer Length in
the Block Limits VPD.  The initiator should not submit a request larger
than this; if it does, fail the request.

Change-Id: I39575cdca4555ac1f78e055a48569be3f47e4781
Signed-off-by: Daniel Verkamp <daniel.verkamp@intel.com>
Reviewed-on: https://review.gerrithub.io/373162
Tested-by: SPDK Automated Test System <sys_sgsw@intel.com>
Reviewed-by: Ben Walker <benjamin.walker@intel.com>
Reviewed-by: Jim Harris <james.r.harris@intel.com>
2017-08-14 15:47:18 -04:00
..
dev.c scsi: removed dev->maxlun field 2017-07-12 13:16:55 -04:00
lun_db.c scsi: remove delete_lun RPC call and move claimed flag 2017-03-13 11:27:22 -07:00
lun.c bdev: pass descriptors for I/O operations 2017-07-14 13:31:30 -04:00
Makefile bdev: add API to translate to SCSI status 2017-05-04 09:11:42 -07:00
port.c scsi: make spdk_scsi_port definition private 2017-05-04 09:05:53 -07:00
scsi_bdev.c scsi_bdev: add Maximum Transfer Length check 2017-08-14 15:47:18 -04:00
scsi_internal.h scsi: Remove global unmap config parameters 2017-08-11 19:54:32 -04:00
scsi_rpc.c jsonrpc: modify API to pass request to handler 2017-07-06 13:48:12 -04:00
scsi.c scsi: Remove global unmap config parameters 2017-08-11 19:54:32 -04:00
task.c bdev: rename blockdev instances to bdev 2017-07-14 13:31:30 -04:00