condensed SD_WaitReadOperation and SD_WaitWriteOperation into
SD_WaitIOOperation