VirtualBox

Ignore:
Timestamp:
May 7, 2008 6:05:30 PM (17 years ago)
Author:
vboxsync
Message:

Again, 3ms + VERR_TIMEOUT. Added a new assertions w/ more info. (If it hadn't been for that the code is supposed to work as is, I would've just made it wait 30 s for each thread.)

File:
1 edited

Legend:

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

    r8541 r8676  
    52765276    if (ataWaitForAllAsyncIOIsIdle(pDevIns, 20000))
    52775277    {
    5278         uint64_t    u64Start = RTTimeMilliTS();
     5278        uint64_t u64Start = RTTimeMilliTS();
    52795279        int rc2 = VINF_SUCCESS;
    52805280        int iFailed = -1;
     
    52895289            if (VBOX_FAILURE(rc) && rc != VERR_INVALID_HANDLE)
    52905290            {
     5291                AssertMsg(rc == VERR_TIMEOUT && RTTimeMilliTS() - u64Start >= 5000,
     5292                          ("rc=%Rrc cMsElapsed=%RI64 ms  Now: %Ri64 ms i=%d\n", rc, cMsElapsed, RTTimeMilliTS() - u64Start, i));
    52915293                rc2 = rc;
    52925294                iFailed = i;
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