aboutsummaryrefslogtreecommitdiff
path: root/scripts/render_block_graph.py
diff options
context:
space:
mode:
authorBandan Das <bsd@redhat.com>2019-01-29 08:19:07 -0500
committerGerd Hoffmann <kraxel@redhat.com>2019-01-30 06:47:52 +0100
commitc1ef0f2519c706f738d76b9b68b6627c889bab14 (patch)
tree8fe4d8fa416eaf0499a696d833c04d7fa0bfa8a1 /scripts/render_block_graph.py
parent179fcf8a83a91c74e323b1fe1b5397520a8af047 (diff)
downloadqemu-c1ef0f2519c706f738d76b9b68b6627c889bab14.zip
qemu-c1ef0f2519c706f738d76b9b68b6627c889bab14.tar.gz
qemu-c1ef0f2519c706f738d76b9b68b6627c889bab14.tar.bz2
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 'scripts/render_block_graph.py')
0 files changed, 0 insertions, 0 deletions