[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH 3/5] dev-mtp: retry write for incomplete transfe
From: |
Bandan Das |
Subject: |
Re: [Qemu-devel] [PATCH 3/5] dev-mtp: retry write for incomplete transfers |
Date: |
Tue, 07 Aug 2018 14:15:14 -0400 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/25.3 (gnu/linux) |
Gerd Hoffmann <address@hidden> writes:
> On Fri, Jul 20, 2018 at 05:40:18PM -0400, Bandan Das wrote:
>> For large buffers, write may not copy the full buffer. For example,
>> on Linux, write imposes a limit of 0x7ffff000. Note that this does
>> not fix >4G transfers but ~>2G files will transfer successfully.
>
> Hmm, I guess it would be a good idea to write the file in smaller
> pieces, so we don't need a 2G host buffer to let the guest write
> a 2G file ...
>
> (as incremental improvement on top of this series).
>
Sounds good, I will add this to my todo list.
> cheers,
> Gerd