numam-spdk/lib/bdev/virtio
Dariusz Stojaczyk f84d1a53be bdev/virtio/blk: implement read-only
Support the virtio RO flag, so that read-only devices
will successfully initialize now. Also do not allow
issuing any writes on a read-only device, so we don't
flood it with requests that are to fail.

Change-Id: I6b77f2338e4478a9abf2d5286344f6412d79284c
Signed-off-by: Dariusz Stojaczyk <dariuszx.stojaczyk@intel.com>
Reviewed-on: https://review.gerrithub.io/393461
Tested-by: SPDK Automated Test System <sys_sgsw@intel.com>
Reviewed-by: Daniel Verkamp <daniel.verkamp@intel.com>
Reviewed-by: Changpeng Liu <changpeng.liu@intel.com>
2018-03-23 03:50:28 -04:00
..
bdev_virtio_blk.c bdev/virtio/blk: implement read-only 2018-03-23 03:50:28 -04:00
bdev_virtio_rpc.c bdev/virtio: added vhost-blk initiator 2018-03-02 13:41:38 -05:00
bdev_virtio_scsi.c bdev/virtio/scsi: hotremove targets on EVENTS_MISSED rescan 2018-03-13 17:14:34 -04:00
bdev_virtio.h bdev/virtio: added vhost-blk initiator 2018-03-02 13:41:38 -05:00
Makefile bdev/virtio: added vhost-blk initiator 2018-03-02 13:41:38 -05:00