VirtualBox

Changeset 24358 in vbox


Ignore:
Timestamp:
Nov 4, 2009 9:54:42 PM (16 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
54381
Message:

AsyncCompletion: Don't enqueue requests if the endpoint is moving

Location:
trunk/src/VBox/VMM
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/VMM/PDMAsyncCompletionFileFailsafe.cpp

    r24222 r24358  
    156156                    pAioMgr->pEndpointsHead = pEndpointNew;
    157157
     158                    pAioMgr->cEndpoints++;
     159
    158160                    /*
    159161                     * Process the task list the first time. There might be pending requests
     
    181183                    if (pNext)
    182184                        pNext->AioMgr.pEndpointPrev = pPrev;
     185
     186                    pAioMgr->cEndpoints--;
    183187                    break;
    184188                }
  • trunk/src/VBox/VMM/PDMAsyncCompletionFileNormal.cpp

    r24355 r24358  
    742742    while (pEndpoint)
    743743    {
    744         if (!pEndpoint->pFlushReq && (pEndpoint->enmState == PDMASYNCCOMPLETIONENDPOINTFILESTATE_ACTIVE))
     744        if (!pEndpoint->pFlushReq
     745            && (pEndpoint->enmState == PDMASYNCCOMPLETIONENDPOINTFILESTATE_ACTIVE)
     746            && !pEndpoint->AioMgr.fMoving)
    745747        {
    746748            rc = pdmacFileAioMgrNormalQueueReqs(pAioMgr, pEndpoint);
Note: See TracChangeset for help on using the changeset viewer.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette