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