I believe that for virtual storport drivers, storport doesn’t acquire
locks when calling HwStorStartIo etc. I think I read that somewhere, and
I certainly get crashes under SMP when I don’t acquire the StartIo lock
myself, and I don’t get deadlocks when I do acquire the StartIo lock.
I assumed that the HwStorResetBus routine was also called with no locks
held, but as soon as I try and acquire the StartIo lock in there I
deadlock, indicating that storport is acquiring the lock for me already.
Is this documented somewhere or are we developers expected to work this
stuff out by trial and error?
Thanks
James