VirtualBox

Changeset 33148 in vbox


Ignore:
Timestamp:
Oct 15, 2010 11:06:49 AM (14 years ago)
Author:
vboxsync
Message:

IPRT/IsoFS: Raise block size to 64K.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Runtime/r3/isofs.cpp

    r32997 r33148  
    549549            {
    550550                size_t cbToRead, cbRead, cbWritten;
    551                 uint8_t byBuffer[_4K];
     551                uint8_t byBuffer[_64K];
    552552                while (   cbLength > 0
    553553                       && RT_SUCCESS(rc))
    554554                {
    555                     cbToRead = RT_MIN(cbLength, _4K);
     555                    cbToRead = RT_MIN(cbLength, _64K);
    556556                    rc = RTFileRead(pFile->file, (uint8_t*)byBuffer, cbToRead, &cbRead);
    557557                    if (RT_FAILURE(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