8bf4c089f6
This allows vbdev modules to be ready for examine calls for (physical) bdev modules when the latter initialize. This requires the following modifications to existing bdev modules: 1) error and split now search their config sections at examine time (instead of init) to see if the bdev should be consumed by the vbdev module 2) gpt is simplified considerably - it no longer needs to save bdevs to examine when gpt initializes later 3) nvme must register its io device before registering the bdev, since vbdevs may immediately start trying to send I/O to the new nvme bdev Signed-off-by: Jim Harris <james.r.harris@intel.com> Change-Id: I8fe5686092ffb15fc8bdbc068b09add229d9da6c Reviewed-on: https://review.gerrithub.io/368598 Tested-by: SPDK Automated Test System <sys_sgsw@intel.com> Reviewed-by: Daniel Verkamp <daniel.verkamp@intel.com> Reviewed-by: Ziye Yang <optimistyzy@gmail.com> Reviewed-by: Ben Walker <benjamin.walker@intel.com> |
||
---|---|---|
.. | ||
aio | ||
error | ||
gpt | ||
malloc | ||
null | ||
nvme | ||
rbd | ||
rpc | ||
split | ||
bdev.c | ||
Makefile | ||
scsi_nvme.c | ||
vtune.c |