Re: [Qemu-devel] [PATCH 0/2] Break down the MTP write operation

2019-01-08 Thread Gerd Hoffmann
Hi, > For larger files, not only do we keep reallocating to increase the mtp buffer > size, the write also happens in one go. This does two things: > > Write to file upto a certain data size we have received so far and second, > reuse the buffer again instead of reallocating to a larger buffer

[Qemu-devel] [PATCH 0/2] Break down the MTP write operation

2018-11-15 Thread Bandan Das
For larger files, not only do we keep reallocating to increase the mtp buffer size, the write also happens in one go. This does two things: Write to file upto a certain data size we have received so far and second, reuse the buffer again instead of reallocating to a larger buffer size. Tested