Changeset 29586 in vbox for trunk/src/VBox
- Timestamp:
- May 17, 2010 9:25:30 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/Storage/DrvSCSI.cpp
r29330 r29586 178 178 } 179 179 180 ASMAtomicDecU32(&pThis->StatIoDepth);181 180 VSCSIIoReqCompleted(hVScsiIoReq, rc); 182 181 … … 208 207 AssertMsg(enmTxDir == VSCSIIOREQTXDIR_FLUSH, ("Invalid transfer direction %u\n", enmTxDir)); 209 208 210 ASMAtomicDecU32(&pThis->StatIoDepth);211 209 VSCSIIoReqCompleted(hVScsiIoReq, rc); 212 210 … … 220 218 int rc = VINF_SUCCESS; 221 219 PDRVSCSI pThis = (PDRVSCSI)pvScsiLunUser; 222 223 ASMAtomicIncU32(&pThis->StatIoDepth);224 220 225 221 if (pThis->pDrvBlockAsync) … … 299 295 AssertMsg(enmTxDir == VSCSIIOREQTXDIR_FLUSH, ("Invalid transfer direction %u\n", enmTxDir)); 300 296 301 ASMAtomicDecU32(&pThis->StatIoDepth);302 297 VSCSIIoReqCompleted(hVScsiIoReq, VINF_SUCCESS); 303 298 } … … 313 308 AssertMsg(enmTxDir == VSCSIIOREQTXDIR_FLUSH, ("Invalid transfer direction %u\n", enmTxDir)); 314 309 315 ASMAtomicDecU32(&pThis->StatIoDepth);316 310 VSCSIIoReqCompleted(hVScsiIoReq, rc); 317 311 rc = VINF_SUCCESS; … … 465 459 return rc; 466 460 461 ASMAtomicIncU32(&pThis->StatIoDepth); 467 462 rc = VSCSIDeviceReqEnqueue(pThis->hVScsiDevice, hVScsiReq); 468 463
Note:
See TracChangeset
for help on using the changeset viewer.