Based on a lot of testing of removing/adding a USB flash drive I've noticed
across different machines various issues after a hot-swap. Using the shell
on one system with a SCSI controller and SCSI (SAS) hard drive, One
internal SATA HD, one Internal SATA DVDRW drive, and the USB flash drive,
everything works normal until a hot swap of the flash drive. After that
your ability to read or access the other drives tends to be hit or miss.
The drive ordering of found handles moves around which can be expected, but
In this case the SCSI drive can't be read/written. It's pretty consistent.
On another system (HP laptop) I could see a hang on the internal drive
(looked like a lock up but if you left it there for a couple hours you may
see it continue, but may not).
An in general, when I used the safe io protocol for opening block io
protocol where ConnectController was called on close of the safe io
protocol (which occurs when EXCLUSIVE access was required to kick off
another driver/app), then you saw/see system hangs.
So I think there is some fundamental big in the whole driver model
DisconnectController()/ ConnectController() or in general
ConnectController() where existing stuff exists.
------------------------------------------------------------------------------
Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more!
Discover the easy way to master current and previous Microsoft technologies
and advance your career. Get an incredible 1,500+ hours of step-by-step
tutorial videos with LearnDevNow. Subscribe today and save!
http://pubads.g.doubleclick.net/gampad/clk?id=58041391&iu=/4140/ostg.clktrk
_______________________________________________
edk2-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/edk2-devel