Loading
bdev/virtio/scsi: hotremove targets on EVENTS_MISSED rescan
When vhost has sent too many events and the eventq ring is full, the very next event will be sent with EVENTS_MISSED flag set. Virtio after processing such event should do a full target rescan to manually detect all changes - this implies 1) hot-attaching targets that appeared, and 2) hot-detaching those that don't respond properly. Virtio has been doing only #1 so far. Change-Id: Ib8be986588913ad41296dcfd6558ff705b99007c Signed-off-by:Dariusz Stojaczyk <dariuszx.stojaczyk@intel.com> Reviewed-on: https://review.gerrithub.io/402120 Reviewed-by:
Jim Harris <james.r.harris@intel.com> Reviewed-by:
Changpeng Liu <changpeng.liu@intel.com> Reviewed-by:
Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com> Tested-by:
SPDK Automated Test System <sys_sgsw@intel.com>