VirtualBox

Changeset 18119 in vbox for trunk/src/VBox/Devices


Ignore:
Timestamp:
Mar 20, 2009 2:36:22 PM (16 years ago)
Author:
vboxsync
Message:

Storage/VHD: creating sparse files is a performance risk on some OSes

File:
1 edited

Legend:

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

    r18054 r18119  
    15711571        pImage->u64DataOffset     = VHD_FOOTER_DATA_OFFSET_FIXED;
    15721572        pImage->uCurrentEndOfFile = cbSize;
     1573        /** @todo r=klaus replace this with actual data writes, see the experience
     1574         * with VDI files on Windows, can cause long freezes when writing. */
    15731575        rc = RTFileSetSize(File, pImage->uCurrentEndOfFile + sizeof(VHDFooter));
    15741576        if (RT_FAILURE(rc))
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