- Timestamp:
- Nov 12, 2012 4:14:29 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/VMMR3/PDMAsyncCompletionFileNormal.cpp
r43725 r43858 999 999 if (RT_FAILURE(rc)) 1000 1000 { 1001 LogRel(("AIOMgr: Preparing flush failed with %Rrc, disabling async flushes\n", rc)); 1001 1002 pEndpoint->fAsyncFlushSupported = false; 1002 1003 pdmacFileAioMgrNormalRequestFree(pAioMgr, hReq); … … 1350 1351 if (pTask->enmTransferType == PDMACTASKFILETRANSFER_FLUSH) 1351 1352 { 1352 Log Flow(("Async flushes are not supported for this endpoint, disabling\n"));1353 LogRel(("AIOMgr: Flush failed with %Rrc, disabling async flushes\n", rc)); 1353 1354 pEndpoint->fAsyncFlushSupported = false; 1354 1355 AssertMsg(pEndpoint->pFlushReq == pTask, ("Failed flush request doesn't match active one\n")); … … 1498 1499 /* Write it now. */ 1499 1500 pTask->fPrefetch = false; 1500 size_t cbToTransfer = RT_ALIGN_Z(pTask->DataSeg.cbSeg, 512);1501 1501 RTFOFF offStart = pTask->Off & ~(RTFOFF)(512-1); 1502 size_t cbToTransfer = RT_ALIGN_Z(pTask->DataSeg.cbSeg + (pTask->Off - offStart), 512); 1502 1503 1503 1504 /* Grow the file if needed. */
Note:
See TracChangeset
for help on using the changeset viewer.