VirtualBox

Changeset 46112 in vbox


Ignore:
Timestamp:
May 15, 2013 10:06:35 PM (12 years ago)
Author:
vboxsync
Message:

Storage: Fix race condition causing I/O hangs

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Storage/VD.cpp

    r45898 r46112  
    15221522        }
    15231523    }
     1524
     1525    /*
     1526     * vdIoCtxProcessLocked() never returns VINF_SUCCESS.
     1527     * If the status code is still set and a valid I/O context was given
     1528     * it was not found on the list (another thread cleared it already).
     1529     * Return I/O in progress status code in that case.
     1530     */
     1531    if (rc == VINF_SUCCESS && pIoCtxRc)
     1532        rc = VERR_VD_ASYNC_IO_IN_PROGRESS;
    15241533
    15251534    LogFlowFunc(("returns rc=%Rrc\n", rc));
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