Changeset 36949 in vbox
- Timestamp:
- May 3, 2011 9:38:57 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Storage/testcase/tstVDIo.cpp
r36637 r36949 895 895 else 896 896 { 897 LogFlow(("Queuing request %d\n", idx)); 897 898 switch (paIoReq[idx].enmTxDir) 898 899 { … … 924 925 else if (rc == VINF_VD_ASYNC_IO_FINISHED) 925 926 { 927 LogFlow(("Request %d completed\n", idx)); 926 928 switch (paIoReq[idx].enmTxDir) 927 929 { 928 930 case VDIOREQTXDIR_READ: 929 931 { 930 rc = VDAsyncRead(pDisk->pVD, paIoReq[idx].off, paIoReq[idx].cbReq, &paIoReq[idx].SgBuf,931 tstVDIoTestReqComplete, &paIoReq[idx], EventSem);932 932 if (pDisk->pMemDiskVerify) 933 933 { … … 943 943 RTCritSectLeave(&pDisk->CritSectVerify); 944 944 } 945 break; 945 946 } 946 947 case VDIOREQTXDIR_WRITE: 947 948 { 948 rc = VDAsyncWrite(pDisk->pVD, paIoReq[idx].off, paIoReq[idx].cbReq, &paIoReq[idx].SgBuf,949 tstVDIoTestReqComplete, &paIoReq[idx], EventSem);950 951 949 if (pDisk->pMemDiskVerify) 952 950 { … … 2242 2240 RTSEMEVENT hEventSem = (RTSEMEVENT)pvUser2; 2243 2241 PVDDISK pDisk = (PVDDISK)pIoReq->pvUser; 2242 2243 LogFlow(("Request %d completed\n", pIoReq->idx)); 2244 2244 2245 2245 if (pDisk->pMemDiskVerify)
Note:
See TracChangeset
for help on using the changeset viewer.