- Timestamp:
- May 4, 2010 2:37:11 PM (15 years ago)
- svn:sync-xref-src-repo-rev:
- 61069
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/PDMAsyncCompletionFileNormal.cpp
r28947 r29029 328 328 ("Invalid state of the I/O manager\n")); 329 329 330 #ifdef RT_OS_WINDOWS 330 331 /* 331 332 * Reopen the files of all assigned endpoints first so we can assign them to the new … … 342 343 pCurr = pCurr->AioMgr.pEndpointNext; 343 344 } 345 #endif 344 346 345 347 /* Create the new bigger context. */ … … 378 380 } 379 381 382 #ifdef RT_OS_WINDOWS 380 383 /* Assign the file to the new context. */ 381 384 pCurr = pAioMgr->pEndpointsHead; … … 388 391 pCurr = pCurr->AioMgr.pEndpointNext; 389 392 } 393 #endif 390 394 391 395 if (RT_FAILURE(rc)) … … 540 544 * and put the rest on the pending list again. 541 545 */ 542 if (RT_UNLIKELY(!pEpClass->fOutOfResourcesWarningPrinted))543 {544 pEpClass->fOutOfResourcesWarningPrinted = true;545 LogRel(("AIOMgr: The operating system doesn't have enough resources "546 "to handle the I/O load of the VM. Expect reduced I/O performance\n"));547 }548 549 546 for (size_t i = 0; i < cReqs; i++) 550 547 { … … 581 578 } 582 579 583 LogFlow(("Removed requests. I/O manager has a total of %d active requests now\n", pAioMgr->cRequestsActive)); 584 LogFlow(("Endpoint has a total of %d active requests now\n", pEndpoint->AioMgr.cRequestsActive)); 580 /* Print an entry in the release log */ 581 if (RT_UNLIKELY(!pEpClass->fOutOfResourcesWarningPrinted)) 582 { 583 pEpClass->fOutOfResourcesWarningPrinted = true; 584 LogRel(("AIOMgr: The host doesn't has enough resources " 585 "to handle the I/O load of the VM. Expect reduced I/O performance\n" 586 "The maximum number of async I/O requests is %u\n", pAioMgr->cRequestsActive)); 587 } 588 589 LogFlow(("Removed requests. I/O manager has a total of %u active requests now\n", pAioMgr->cRequestsActive)); 590 LogFlow(("Endpoint has a total of %u active requests now\n", pEndpoint->AioMgr.cRequestsActive)); 585 591 } 586 592 else
Note:
See TracChangeset
for help on using the changeset viewer.