4 ms·
Just to add to what you're saying, you can't tune zstd for qcow images or for btrfs filesystems.
by ciupicri 4y ago
Just to add to what you're saying, you can't tune zstd for qcow images or for btrfs filesystems.
- loxias 4y agoYou're entirely right! And points out the blind spot that I've used it much more as a library in tools I build/use than integrated with other things. Never used brtfs, I'm assuming it uses zstd internally for something? Cool. Also very cool that qcow contains zstd support (didn't know that either!).
- ciupicri 4y agoFrom https://btrfs.wiki.kernel.org/index.php/Compression https://btrfs.wiki.kernel.org/index.php/Compression > Btrfs supports transparent file compression. There are three algorithms available: ZLIB, LZO and ZSTD(since v4.14) I've been using zstd compression for qcow2 images since last year, but I admit it's kind of hidden. The man page for qemu-img [1] doesn't say a word about zstd, but it's there alright [2]. [1]: https://www.qemu.org/docs/master/tools/qemu-img.html https://www.qemu.org/docs/master/tools/qemu-img.html [2]: https://gitlab.com/qemu-project/qemu/-/blob/v7.0.0/block/qcow2-threads.c#L188 https://gitlab.com/qemu-project/qemu/-/blob/v7.0.0/block/qco...