+28
−19
Loading
We previously used a separate io_device for each bdev created from a virtio_dev. The new approach makes us reuse the same io_channel for different bdevs on the same core. It also provides a built-in safety check for freeing virtio_dev only when all io_channels on this device have been closed. Change-Id: Iaae66964f90aa3cef95ed2e261c6f3dfb2f26caa Signed-off-by:Dariusz Stojaczyk <dariuszx.stojaczyk@intel.com> Reviewed-on: https://review.gerrithub.io/388505 Tested-by:
SPDK Automated Test System <sys_sgsw@intel.com> Reviewed-by:
Pawel Wodkowski <pawelx.wodkowski@intel.com> Reviewed-by:
Ben Walker <benjamin.walker@intel.com> Reviewed-by:
Jim Harris <james.r.harris@intel.com>