Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

virtnbdmap: support mapping compressed backup images #25

Open
abbbi opened this issue Nov 9, 2021 · 0 comments
Open

virtnbdmap: support mapping compressed backup images #25

abbbi opened this issue Nov 9, 2021 · 0 comments
Labels
enhancement New feature or request

Comments

@abbbi
Copy link
Owner

abbbi commented Nov 9, 2021

It should be possible to map compressed images too. One idea would be:

  1. detect compressed image and read trailer in virtnbdmap
  2. add info about the compressed block (length and original length / offset) to the blockmap json
  3. in virtnbd-nbdkit-plugin detect if requested block is compressed, decompress and return decompressed data
@abbbi abbbi added the enhancement New feature or request label Nov 9, 2021
@abbbi abbbi modified the milestones: 0.67, 0.68, 1.0 Jul 1, 2022
@abbbi abbbi removed this from the 1.0 milestone Sep 17, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant