diff options
| author | Bandan Das <bsd@redhat.com> | 2019-01-29 08:19:07 -0500 |
|---|---|---|
| committer | Gerd Hoffmann <kraxel@redhat.com> | 2019-01-30 06:47:52 +0100 |
| commit | c1ef0f2519c706f738d76b9b68b6627c889bab14 (patch) | |
| tree | 8fe4d8fa416eaf0499a696d833c04d7fa0bfa8a1 /tests/qemu-iotests/iotests.py | |
| parent | 179fcf8a83a91c74e323b1fe1b5397520a8af047 (diff) | |
| download | focaccia-qemu-c1ef0f2519c706f738d76b9b68b6627c889bab14.tar.gz focaccia-qemu-c1ef0f2519c706f738d76b9b68b6627c889bab14.zip | |
usb-mtp: breakup MTP write into smaller chunks
For every MTP_WRITE_BUF_SZ copied, this patch writes it to file before getting the next block of data. The file is kept opened for the duration of the operation but the sanity checks on the write operation are performed only once when the write operation starts. Additionally, we also update the file size in the object metadata once the file has completely been written. Suggested-by: Gerd Hoffman <kraxel@redhat.com> Signed-off-by: Bandan Das <bsd@redhat.com> Message-id: 20190129131908.27924-3-bsd@redhat.com Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Diffstat (limited to 'tests/qemu-iotests/iotests.py')
0 files changed, 0 insertions, 0 deletions