VirtualBox

Changeset 23952 in vbox


Ignore:
Timestamp:
Oct 21, 2009 8:42:09 PM (15 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
53771
Message:

AsyncCompletion: Disable RTFILE_O_NO_CACHE for Linux on filesystems which do not support it (CIFS)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/VMM/PDMAsyncCompletionFile.cpp

    r23013 r23952  
    595595    /* Open with final flags. */
    596596    rc = RTFileOpen(&pEpFile->File, pszUri, fFileFlags);
    597     if (rc == VERR_INVALID_FUNCTION)
     597    if ((rc == VERR_INVALID_FUNCTION) || (rc == VERR_INVALID_PARAMETER))
    598598    {
    599599        /*
     
    604604         * write more data than can be synced to the disk
    605605         * without blocking the whole application.
     606         *
     607         * On Linux we have the same problem with cifs.
     608         * Shouldn't be a big problem here either because
     609         * it's a network filesystem and the data is on another
     610         * computer.
    606611         */
    607612        fFileFlags &= ~RTFILE_O_NO_CACHE;
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