VirtualBox

Changeset 74839 in vbox for trunk/src/VBox/Devices/Storage


Ignore:
Timestamp:
Oct 15, 2018 9:29:21 AM (6 years ago)
Author:
vboxsync
Message:

DrvVD: Fixed failing suspend/resume cycle if an recoverable error occurs a second time, need to clear the redo flag on resume. Fixed active I/O request accounting [build fix]

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Devices/Storage/DrvVD.cpp

    r74838 r74839  
    29172917    {
    29182918        uint32_t cNew = ASMAtomicDecU32(&pThis->cIoReqsActive);
    2919         AssertMsg(cNew != UINT32_MAX, ("Number of active requests underflowed!\n"));
     2919        AssertMsg(cNew != UINT32_MAX, ("Number of active requests underflowed!\n")); RT_NOREF(cNew);
    29202920    }
    29212921    else
     
    30663066            RTCritSectLeave(&pThis->CritSectIoReqRedo);
    30673067            uint32_t cNew = ASMAtomicDecU32(&pThis->cIoReqsActive);
    3068             AssertMsg(cNew != UINT32_MAX, ("Number of active requests underflowed!\n"));
     3068            AssertMsg(cNew != UINT32_MAX, ("Number of active requests underflowed!\n")); RT_NOREF(cNew);
    30693069            pThis->pDrvMediaExPort->pfnIoReqStateChanged(pThis->pDrvMediaExPort, pIoReq, &pIoReq->abAlloc[0],
    30703070                                                         PDMMEDIAEXIOREQSTATE_SUSPENDED);
     
    37123712    {
    37133713        uint32_t cNew = ASMAtomicDecU32(&pThis->cIoReqsActive);
    3714         AssertMsg(cNew != UINT32_MAX, ("Number of active requests underflowed!\n"));
     3714        AssertMsg(cNew != UINT32_MAX, ("Number of active requests underflowed!\n")); RT_NOREF(cNew);
    37153715    }
    37163716
Note: See TracChangeset for help on using the changeset viewer.

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