DeviceIoControl STORAGE_PROPERTY_QUERY cost a long time


  • Hi,

    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!

    Monday, March 04, 2013 1:05 AM

All replies