VirtualBox

Changeset 32625 in vbox


Ignore:
Timestamp:
Sep 19, 2010 6:57:19 PM (14 years ago)
Author:
vboxsync
Message:

VMDK: Don't ignore block devices during a async flush request

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Devices/Storage/VmdkHDDCore.cpp

    r32619 r32625  
    77017701            case VMDKETYPE_VMFS:
    77027702            case VMDKETYPE_FLAT:
    7703                 /** @todo implement proper path absolute check. */
     7703                /*
     7704                 * Don't ignore block devices like in the sync case
     7705                 * (they have an absolute path).
     7706                 * We might have unwritten data in the writeback cache and
     7707                 * the async I/O manager will handle these requests properly
     7708                 * even if the block device doesn't support these requests.
     7709                 */
    77047710                if (   pExtent->pFile != NULL
    7705                     && !(pImage->uOpenFlags & VD_OPEN_FLAGS_READONLY)
    7706                     && !(pExtent->pszBasename[0] == RTPATH_SLASH))
     7711                    && !(pImage->uOpenFlags & VD_OPEN_FLAGS_READONLY))
    77077712                    rc = vmdkFileFlushAsync(pImage, pExtent->pFile, pIoCtx);
    77087713                break;
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