VirtualBox

Changeset 37072 in vbox for trunk/src/VBox/VMM


Ignore:
Timestamp:
May 13, 2011 2:18:14 PM (14 years ago)
Author:
vboxsync
Message:

PDMBlkCache: Commit dirty entries before suspending the cache to avoid losing unwritten data

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/VMM/VMMR3/PDMBlkCache.cpp

    r36568 r37072  
    25692569    AssertPtrReturn(pBlkCache, VERR_INVALID_POINTER);
    25702570
     2571    if (!ASMAtomicReadBool(&pBlkCache->pCache->fIoErrorVmSuspended))
     2572        pdmBlkCacheCommit(pBlkCache); /* Can issue new I/O requests. */
    25712573    ASMAtomicXchgBool(&pBlkCache->fSuspended, true);
    25722574
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