I am working on an IO adapter, which is connected will an enclosure, filled with disk drive, we'd like to config array on the adapter, of course, we will have the volume set in the OS after we config an array on the adapter. We want to get the volume set index on the OS. So I use the DeviceIoControl, with the query type is PropertyStandardQuery, and query PropertyId is StorageDeviceIdProperty. It works quite well in normal case. But when we config MPIO mode, and if we delete the array on the adapter, which also cause the volume set deleted on the OS. The DeviceIoControl cost a long time, normally cost about 20 seconds.
I am confused why it cost such a long time, and why it happens only in MPIO mode, also why it happens when I delete my array, not in the case I create an array.
Thank you very much!
Based on your description, I’d like to move this thread to a more suitable forum: Windows Desktop SDK.
Thanks for your understanding.
MSDN Community Support | Feedback to us
Develop and promote your apps in Windows Store
Please remember to mark the replies as answers if they help and unmark them if they provide no help.