VirtualBox

Changeset 80910 in vbox for trunk/src/VBox/ValidationKit


Ignore:
Timestamp:
Sep 20, 2019 12:12:38 AM (5 years ago)
Author:
vboxsync
Message:

FsPerf: Even better error reporting on that windows flush problem. [scmfix] bugref:9172

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/ValidationKit/utils/fs/FsPerf.cpp

    r80909 r80910  
    57115711                /* Sync it all. */
    57125712#  ifdef RT_OS_WINDOWS
    5713                 CHECK_WINAPI_CALL(FlushViewOfFile(pbMapping, cbContent) == TRUE);
     5713                //CHECK_WINAPI_CALL(FlushViewOfFile(pbMapping, cbContent) == TRUE);
     5714                SetLastError(0);
     5715                if (FlushViewOfFile(pbMapping, cbContent) != TRUE)
     5716                    RTTestIFailed("line %u, i=%u: FlushViewOfFile(%p, %#zx) failed: %u / %#x", __LINE__, i,
     5717                                  GetLastError(), RTNtLastStatusValue());
    57145718#  else
    57155719                RTTESTI_CHECK(msync(pbMapping, cbContent, MS_SYNC) == 0);
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