Spdk/lib/bdev
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
..
aio io_channel: add return value to pollers 2018-03-13 11:16:20 -04:00
error bdev/error: move config scanning to vbdev_error_init 2018-03-16 18:22:17 -04:00
gpt bdev: rename spdk_bdev_module_if -> spdk_bdev_module 2018-03-13 00:55:12 -04:00
iscsi bdev: add iSCSI initiator bdev module 2018-03-21 20:35:42 -04:00
lvol bdev: rename spdk_bdev_module_if -> spdk_bdev_module 2018-03-13 00:55:12 -04:00
malloc bdev: rename spdk_bdev_module_if -> spdk_bdev_module 2018-03-13 00:55:12 -04:00
null io_channel: add return value to pollers 2018-03-13 11:16:20 -04:00
nvme io_channel: add return value to pollers 2018-03-13 11:16:20 -04:00
passthru bdev: Vbdev Passthru Example 2018-03-20 19:10:08 -04:00
pmem bdev: rename spdk_bdev_module_if -> spdk_bdev_module 2018-03-13 00:55:12 -04:00
rbd io_channel: add return value to pollers 2018-03-13 11:16:20 -04:00
rpc bdev: add spdk_bdev_get_uuid() function 2018-03-08 10:49:51 -05:00
split bdev: rename spdk_bdev_module_if -> spdk_bdev_module 2018-03-13 00:55:12 -04:00
virtio bdev/virtio/blk: implement read-only 2018-03-23 03:50:28 -04:00
bdev.c bdev: count per-bdev outstanding I/O 2018-03-19 17:28:29 -04:00
Makefile bdev: add iSCSI initiator bdev module 2018-03-21 20:35:42 -04:00
part.c bdev: rename spdk_bdev_module_if -> spdk_bdev_module 2018-03-13 00:55:12 -04:00
scsi_nvme.c nvme_spec: remove SGL Sub Type Invalid status code 2017-09-22 17:11:53 -04:00
vtune.c bdev: disable new GCC 7 warning in VTune code 2018-03-19 15:58:15 -04:00