VirtualBox

Changeset 50852 in vbox


Ignore:
Timestamp:
Mar 24, 2014 10:50:37 AM (11 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
92937
Message:

Storage/VD: Zero free blocks in the parent read callback used for compaction

File:
1 edited

Legend:

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

    r49944 r50852  
    19121912    RTSgBufInit(&SgBuf, &Segment, 1);
    19131913    vdIoCtxInit(&IoCtx, pParentState->pDisk, VDIOCTXTXDIR_READ, uOffset, cbRead, pParentState->pImage,
    1914                 &SgBuf, NULL, NULL, VDIOCTX_FLAGS_SYNC);
     1914                &SgBuf, NULL, NULL, VDIOCTX_FLAGS_SYNC | VDIOCTX_FLAGS_ZERO_FREE_BLOCKS);
    19151915    int rc = vdReadHelperAsync(&IoCtx);
    19161916    ASMAtomicXchgBool(&pParentState->pDisk->fLocked, false);
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