Spdk/lib/bdev
Dariusz Stojaczyk 661feb15a8 bdev_virtio: defer bdev registration until the scan finishes
bdev_virtio I/O poller used to interfere with scan poller.
e.g. GPT read could be picked up by scan poller.

Even if such request is instantly rejected, this would cause
both GPT and scan to fail. Instead, defer bdev_register
until after the virtio_hw scan has finished.

I/O poller logic will still have to be greatly refactored to
add proper multiqueue/multibdev support. However, this patch
lifts scan processing responsibility from any I/O pollers.

Change-Id: I201de8aa0dc1db71ed836fd5e74d55604950f271
Signed-off-by: Dariusz Stojaczyk <dariuszx.stojaczyk@intel.com>
Reviewed-on: https://review.gerrithub.io/378064
Tested-by: SPDK Automated Test System <sys_sgsw@intel.com>
Reviewed-by: Jim Harris <james.r.harris@intel.com>
Reviewed-by: Changpeng Liu <changpeng.liu@intel.com>
Reviewed-by: Daniel Verkamp <daniel.verkamp@intel.com>
2017-09-14 13:48:09 -04:00
..
aio bdev: convert bdev module APIs to use blocks 2017-09-06 13:01:13 -04:00
error bdev/error: use bdev_part helper functions 2017-09-12 11:16:50 -04:00
gpt bdev/gpt: free base bdev_part in gpt after examining 2017-09-14 13:39:29 -04:00
malloc bdev: convert bdev module APIs to use blocks 2017-09-06 13:01:13 -04:00
null bdev: convert bdev module APIs to use blocks 2017-09-06 13:01:13 -04:00
nvme bdev/bdev_nvme.c: correct order of args in unmap call 2017-09-11 19:08:22 -04:00
rbd bdev: convert bdev module APIs to use blocks 2017-09-06 13:01:13 -04:00
rpc bdev: update the get_bdevs RPC method with optional parameter 2017-08-28 15:19:34 -04:00
split bdev: add common partition helper functions 2017-09-12 11:16:50 -04:00
virtio bdev_virtio: defer bdev registration until the scan finishes 2017-09-14 13:48:09 -04:00
bdev.c bdev/gpt: free base bdev_part in gpt after examining 2017-09-14 13:39:29 -04:00
Makefile virtio: add initial rev of virtio-scsi initiator bdev module 2017-08-22 11:54:15 -04:00
scsi_nvme.c bdev: add API to translate to SCSI status 2017-05-04 09:11:42 -07:00
vtune.c bdev: #include VTune file to control warnings 2017-06-08 12:44:25 -04:00