Changeset 39798 in vbox for trunk/include/VBox
- Timestamp:
- Jan 18, 2012 4:55:06 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/VBox/vd.h
r39519 r39798 193 193 * supported. */ 194 194 #define VD_OPEN_FLAGS_DISCARD RT_BIT(7) 195 /** Ignore all flush requests to workaround certain filesystems which are slow 196 * when writing a lot of cached data to the medium. 197 * Use with extreme care as a host crash can result in completely corrupted and 198 * unusable images. 199 */ 200 #define VD_OPEN_FLAGS_IGNORE_FLUSH RT_BIT(8) 195 201 /** Mask of valid flags. */ 196 #define VD_OPEN_FLAGS_MASK (VD_OPEN_FLAGS_NORMAL | VD_OPEN_FLAGS_READONLY | VD_OPEN_FLAGS_HONOR_ZEROES | VD_OPEN_FLAGS_HONOR_SAME | VD_OPEN_FLAGS_INFO | VD_OPEN_FLAGS_ASYNC_IO | VD_OPEN_FLAGS_SHAREABLE | VD_OPEN_FLAGS_SEQUENTIAL | VD_OPEN_FLAGS_DISCARD )202 #define VD_OPEN_FLAGS_MASK (VD_OPEN_FLAGS_NORMAL | VD_OPEN_FLAGS_READONLY | VD_OPEN_FLAGS_HONOR_ZEROES | VD_OPEN_FLAGS_HONOR_SAME | VD_OPEN_FLAGS_INFO | VD_OPEN_FLAGS_ASYNC_IO | VD_OPEN_FLAGS_SHAREABLE | VD_OPEN_FLAGS_SEQUENTIAL | VD_OPEN_FLAGS_DISCARD | VD_OPEN_FLAGS_IGNORE_FLUSH) 197 203 /** @}*/ 198 204
Note:
See TracChangeset
for help on using the changeset viewer.