VirtualBox

Changeset 48853 in vbox


Ignore:
Timestamp:
Oct 3, 2013 9:44:44 PM (11 years ago)
Author:
vboxsync
Message:

disabled some of the new assertions as dmgRead or/and vdCopyHelper doesn't set cbTransferLeft for some reason.

File:
1 edited

Legend:

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

    r48848 r48853  
    45714571    Assert(cbCopied == cbBuf);
    45724572
    4573     Assert(pIoCtx->Req.Io.cbTransferLeft >= cbCopied);
     4573    /// @todo Assert(pIoCtx->Req.Io.cbTransferLeft >= cbCopied); - triggers with vdCopyHelper/dmgRead.
    45744574    ASMAtomicSubU32(&pIoCtx->Req.Io.cbTransferLeft, (uint32_t)cbCopied);
    45754575
     
    45914591    Assert(cbCopied == cbBuf);
    45924592
    4593     Assert(pIoCtx->Req.Io.cbTransferLeft > cbCopied);
     4593    /// @todo Assert(pIoCtx->Req.Io.cbTransferLeft > cbCopied); - triggers with vdCopyHelper/dmgRead.
    45944594    ASMAtomicSubU32(&pIoCtx->Req.Io.cbTransferLeft, (uint32_t)cbCopied);
    45954595
     
    46104610    Assert(cbSet == cb);
    46114611
    4612     Assert(pIoCtx->Req.Io.cbTransferLeft >= cbSet);
     4612    /// @todo Assert(pIoCtx->Req.Io.cbTransferLeft >= cbSet); - triggers with vdCopyHelper/dmgRead.
    46134613    ASMAtomicSubU32(&pIoCtx->Req.Io.cbTransferLeft, (uint32_t)cbSet);
    46144614
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