Changeset 21573 in vbox for trunk/include
- Timestamp:
- Jul 14, 2009 11:12:01 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/iprt/file.h
r21493 r21573 149 149 */ 150 150 #define RTFILE_O_ASYNC_IO 0x00040000 151 /** Disables caching of the opened file on the host. 152 * Useful when using very big files which might 153 * bring the host I/O scheduler to its knees 154 * during high I/O load. 155 * @remark This flag might impose restrictions 151 /** Disables caching. 152 * 153 * Useful when using very big files which might bring the host I/O scheduler to 154 * its knees during high I/O load. 155 * 156 * @remarks This flag might impose restrictions 156 157 * on the buffer alignment, start offset and/or transfer size. 158 * 157 159 * On Linux the buffer needs to be aligned to the 512 sector 158 160 * boundary. 159 * On Windows the FILE_FLAG_NO_BUFFERING is used160 * (see here for more details161 * http://msdn.microsoft.com/en-us/library/cc644950(VS.85).aspx )161 * 162 * On Windows the FILE_FLAG_NO_BUFFERING is used (see 163 * http://msdn.microsoft.com/en-us/library/cc644950(VS.85).aspx ). 162 164 * The buffer address, the transfer size and offset needs to be 163 165 * aligned to the sector size of the volume. 164 * @remark This might not be implemented on all platforms, 166 * 167 * @remarks This might not be implemented on all platforms, 165 168 * and will be ignored on those. 166 169 */ 167 #define RTFILE_O_NO_CACHE 0x00080000170 #define RTFILE_O_NO_CACHE 0x00080000 168 171 169 172 /** Mask of all valid flags. 170 173 * @remark This doesn't validate the access mode properly. 171 174 */ 172 #define RTFILE_O_VALID_MASK 175 #define RTFILE_O_VALID_MASK 0x1ffFFB73 173 176 174 177 /** @} */
Note:
See TracChangeset
for help on using the changeset viewer.