Changeset 19346 in vbox for trunk/src/VBox/Runtime/r3/posix/fileio-posix.cpp
- Timestamp:
- May 5, 2009 12:39:14 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Runtime/r3/posix/fileio-posix.cpp
r16647 r19346 143 143 fOpenMode |= O_SYNC; 144 144 #endif 145 #if defined(O_DIRECT) && defined(RT_OS_LINUX) 146 /* O_DIRECT is mandatory to get async I/O working on Linux. */ 147 if (fOpen & RTFILE_O_ASYNC_IO) 148 fOpenMode |= O_DIRECT; 149 #endif 145 150 146 151 /* create/truncate file */
Note:
See TracChangeset
for help on using the changeset viewer.