Changeset 21493 in vbox for trunk/include
- Timestamp:
- Jul 10, 2009 7:58:31 PM (16 years ago)
- svn:sync-xref-src-repo-rev:
- 49940
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/iprt/file.h
r20374 r21493 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 156 * on the buffer alignment, start offset and/or transfer size. 157 * On Linux the buffer needs to be aligned to the 512 sector 158 * boundary. 159 * On Windows the FILE_FLAG_NO_BUFFERING is used 160 * (see here for more details 161 * http://msdn.microsoft.com/en-us/library/cc644950(VS.85).aspx) 162 * The buffer address, the transfer size and offset needs to be 163 * aligned to the sector size of the volume. 164 * @remark This might not be implemented on all platforms, 165 * and will be ignored on those. 166 */ 167 #define RTFILE_O_NO_CACHE 0x00080000 151 168 152 169 /** Mask of all valid flags. 153 170 * @remark This doesn't validate the access mode properly. 154 171 */ 155 #define RTFILE_O_VALID_MASK 0x1ff 7FB73172 #define RTFILE_O_VALID_MASK 0x1ffFFB73 156 173 157 174 /** @} */ … … 1075 1092 * 1076 1093 * @returns IPRT status code. 1094 * @returns VERR_FILE_AIO_INSUFFICIENT_RESSOURCES if the maximum number of 1095 * simultaneous outstanding requests would be exceeded. 1077 1096 * 1078 1097 * @param hAioCtx The async I/O context handle.
Note:
See TracChangeset
for help on using the changeset viewer.