[Interest] QFile copy and sync/fsync
Duane
duane.hebert at group-upc.com
Fri Jan 4 15:05:50 CET 2013
On 01/04/2013 08:58 AM, Thiago Macieira wrote:
> On sexta-feira, 4 de janeiro de 2013 08.00.14, Duane wrote:
>> What I don't understand is that if I mount the USB stick with sync, and
>> I have a for loop that copies N files, after the for loop finishes,
>> there is a long delay. I can see from the led on the usb stick that
>> this is when the files are being written. Is this something that the OS
>> (in this case Tiny Core Linux) decides to do or is there some way to
>> change this behavior in Qt?
>
> It's the OS. It buffers the writes for later. Nothing that Qt can do about it.
>
>
>
Ok, thanks for the input.
More information about the Interest
mailing list