In Virtual Storport Miniport, I get the situation where multiple devices get added/removed within time interval of 2-5 secs. I am calling StorPortNotification(BusChangeDetected,…) as soon as I see a device has been added/removed. This does not trigger the Bus Scan from Storport (Inquiry, Report Luns) and devices are not added/removed correctly.
Is there a miniumum time interval between consequetive calls to StorPortNotification(BusChangeDetected,…) OR is there a way to find previous Bus scan of Storport is complete and next one can be triggered?
Thanks in Advance,
-nirranjan