Commit Graph
8 Commits
Author SHA1 Message Date
Lucian Petrut 2099591245 Allow retrieving compressed chunks
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 (which
now becomes configurable), at most one fragment will be returned.

While at it, we're adding perf tests that check various AIO buffer
sizes, cross checking against VDDK.
2026-09-17 15:29:11 +00:00
Lucian Petrut 94e63f96ad Add stress tests 2026-09-09 13:51:06 +00:00
Lucian Petrut 1e5b2d70a5 Restore Python 3.10 compatibility 2026-09-09 08:54:22 +00:00
Lucian Petrut e595dcd9e7 Fix code formatting - tox -e fmt 2026-09-08 14:59:43 +00:00
Lucian Petrut 14ed40548e Document probing samples 2026-09-08 14:41:24 +00:00
Lucian Petrut cefae300b9 Add perf tests 2026-09-07 12:22:15 +00:00
Lucian Petrut 1e9c2816ef tests: use pytest instead of unittest
pytest provides session scoped fixtures, making it much easier
to reuse resources across tests.
2026-09-07 11:52:46 +00:00
Lucian PetrutandCursor 4ddf0c015d Add openvixdisklib as an open NBD replacement for VMware VDDK.
VDDK is no longer publicly distributed, so this library reverse-engineers
the vSphere NFC path and exposes ConnectEx, Open, Read, and Write without
the proprietary SDK.

Co-authored-by: Cursor <[email protected]>
2026-09-07 11:41:01 +00:00