Martin K. Petersen
2019-Sep-11 02:14 UTC
[PATCH v2] scsi: virtio_scsi: unplug LUNs when events missed
Matt,> The event handler calls scsi_scan_host() when events are missed, which > will hotplug new LUNs. However, this function won't remove any > unplugged LUNs. The result is that hotunplug doesn't work properly > when the number of unplugged LUNs exceeds the event queue size > (currently 8). > > Scan existing LUNs when events are missed to check if they are still > present. If not, remove them.Applied to 5.4/scsi-queue, thanks! -- Martin K. Petersen Oracle Linux Engineering
Apparently Analagous Threads
- [PATCH] scsi: virtio_scsi: unplug LUNs when events missed
- [PATCH v2] scsi: virtio_scsi: unplug LUNs when events missed
- [PATCH 0/1] virtio-scsi: fix missing unplug events when all LUNs are unplugged at the same time
- [PATCH 1/1] scsi: virtio-scsi: handle correctly case when all LUNs were unplugged
- [PATCH] virtio-scsi: Add vdrv->scan for post VIRTIO_CONFIG_S_DRIVER_OK LUN scanning