Spdk/lib/bdev/virtio
Dariusz Stojaczyk 5447fb12a9 bdev_virtio: fix scan inquiry alloc_len
Some devices expect alloc_len
to be the same as payload len.

Kernel vhost-scsi reports:
Expected Transfer Length: 256 does
not match SCSI CDB Length: 255 for
SAM Opcode: 0x12.

Change-Id: I499290c207b77be6757441da002f9fcc9eebcecd
Signed-off-by: Dariusz Stojaczyk <dariuszx.stojaczyk@intel.com>
Reviewed-on: https://review.gerrithub.io/383779
Tested-by: SPDK Automated Test System <sys_sgsw@intel.com>
Reviewed-by: Changpeng Liu <changpeng.liu@intel.com>
Reviewed-by: Jim Harris <james.r.harris@intel.com>
Reviewed-by: Daniel Verkamp <daniel.verkamp@intel.com>
2017-10-27 13:07:25 -04:00
..
rte_virtio bdev_virtio: fix setting name for modern pci devices 2017-10-26 15:09:57 -04:00
bdev_virtio_rpc.c bdev_virtio/rpc: add construct_virtio_user_scsi_bdev 2017-10-25 18:31:56 -04:00
bdev_virtio.c bdev_virtio: fix scan inquiry alloc_len 2017-10-27 13:07:25 -04:00
bdev_virtio.h bdev_virtio/rpc: add construct_virtio_user_scsi_bdev 2017-10-25 18:31:56 -04:00
Makefile bdev_virtio/rpc: add construct_virtio_user_scsi_bdev 2017-10-25 18:31:56 -04:00