VirtualBox

Changeset 43916 in vbox


Ignore:
Timestamp:
Nov 19, 2012 9:32:56 PM (12 years ago)
Author:
vboxsync
Message:

VDI: Bump data alignment for new images to 1M

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Storage/VDICore.h

    r40936 r43916  
    237237 * File alignment boundary for both the block array and data area. Should be
    238238 * at least the size of a physical sector on disk for performance reasons.
    239  * With the growing market share of disks with 4K sectors this needs to be
    240  * bumped, and maybe again later. */
    241 #define VDI_DATA_ALIGN _4K
     239 * Bumped to 1MB because SSDs tend to have 8kb per page so we don't have to worry
     240 * about proper alignment in the near future again. */
     241#define VDI_DATA_ALIGN _1M
    242242
    243243/** Block 'pointer'. */
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