Skip to content

Allow retrieving compressed chunks - #1

Draft
petrutlucian94 wants to merge 7 commits into
cloudbase:masterfrom
petrutlucian94:io_improvements
Draft

petrutlucian94 wants to merge 7 commits into
cloudbase:masterfrom
petrutlucian94:io_improvements

Conversation

@petrutlucian94

Copy link
Copy Markdown
Member

VDDK always decompresses the chunks it retrieves. However, some
callers may be interested in the compressed chunks, which can
be forwarded to another service involved in the backup process.

We'll add a read flag (skip_decompression). If set, the read
operation will return a "ReadResult" container, containing
a list of fragments and their compressed / decompressed lengths.

If the returned buffer size matches the AIO buffer size (configurable),
at most one fragment will be returned.

VDDK always decompresses the chunks it retrieves. However, some
callers may be interested in the compressed chunks, which may
be forwarded to another service involved in the backup process.

We'll add a read flag (skip_decompression). If set, the read
operation will return a "ReadResult" container, containing
a list of fragments and their compressed / decompressed lengths.

If the returned buffer size matches the AIO buffer size (configurable),
at most one fragment will be returned.
@petrutlucian94
petrutlucian94 marked this pull request as draft September 16, 2026 14:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant