]> Git Repo - qemu.git/commit - block/qcow2.c
qcow2: Allow writing compressed data of multiple clusters
authorAndrey Shinkevich <[email protected]>
Mon, 2 Dec 2019 12:15:05 +0000 (15:15 +0300)
committerMax Reitz <[email protected]>
Mon, 6 Jan 2020 12:43:07 +0000 (13:43 +0100)
commit0d483dce3847e43b415896344a5e60bd0a50823d
treef14a51a317bd6c5f859d9eafb19f7a2cf109bf9f
parentf41388e0fb04feded9ee09d5e20d7516e700472e
qcow2: Allow writing compressed data of multiple clusters

QEMU currently supports writing compressed data of the size equal to
one cluster. This patch allows writing QCOW2 compressed data that
exceed one cluster. Now, we split buffered data into separate clusters
and write them compressed using the block/aio_task API.

Suggested-by: Pavel Butsykin <[email protected]>
Suggested-by: Vladimir Sementsov-Ogievskiy <[email protected]>
Signed-off-by: Andrey Shinkevich <[email protected]>
Reviewed-by: Vladimir Sementsov-Ogievskiy <[email protected]>
Reviewed-by: Max Reitz <[email protected]>
Message-id: 1575288906[email protected]
Signed-off-by: Max Reitz <[email protected]>
block/qcow2.c
This page took 0.021867 seconds and 4 git commands to generate.