VirtualBox

Ignore:
Timestamp:
May 5, 2009 12:39:14 AM (16 years ago)
Author:
vboxsync
Message:

Runtime/Aio: Updates

  • Add POSIX backend needed for the Darwin host (not very well tested yet)
  • Typos in the solaris and linux backend
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Runtime/r3/posix/fileio-posix.cpp

    r16647 r19346  
    143143        fOpenMode |= O_SYNC;
    144144#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
    145150
    146151    /* create/truncate file */
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