VirtualBox

Changeset 45180 in vbox for trunk/src/VBox


Ignore:
Timestamp:
Mar 25, 2013 8:48:52 PM (12 years ago)
Author:
vboxsync
Message:

Storage: Fix hang for sync I/O under some circumstances

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Storage/VD.cpp

    r45155 r45180  
    40274027                                              pIoStorage->pStorage, uOffset,
    40284028                                              Seg.pvSeg, cbRead, NULL);
     4029        if (RT_SUCCESS(rc))
     4030            ASMAtomicSubU32(&pIoCtx->Req.Io.cbTransferLeft, cbRead);
    40294031    }
    40304032    else
     
    41214123                                              pIoStorage->pStorage, uOffset,
    41224124                                              Seg.pvSeg, cbWrite, NULL);
     4125        if (RT_SUCCESS(rc))
     4126            ASMAtomicSubU32(&pIoCtx->Req.Io.cbTransferLeft, cbWrite);
    41234127    }
    41244128    else
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