[pve-devel] [PATCH container v2] Fix #2124: Add support for zstd

Alwin Antreich a.antreich at proxmox.com
Fri Jan 31 17:00:55 CET 2020


This seems to me as a totally new try, since so much time has passed. :)

Zstandard (zstd) [0] is a data compression algorithm, in addition to gzip,
lzo for our backup/restore.

v1 -> v2:
    * factored out the decompressor info first, as Thomas suggested
    * made the regex pattern of backup files more compact, easier to
      read (hopefully)
    * less code changes for container restores

Thanks for any comment or suggestion in advance.

[0] https://facebook.github.io/zstd/


__pve-container__

Alwin Antreich (1):
  Fix: #2124 add zstd support

 src/PVE/LXC/Create.pm | 1 +
 1 file changed, 1 insertion(+)


__qemu-server__

Alwin Antreich (2):
  restore: replace archive format/compression regex
  Fix #2124: Add support for zstd

 PVE/QemuServer.pm | 38 +++++++-------------------------------
 1 file changed, 7 insertions(+), 31 deletions(-)


__pve-storage__

Alwin Antreich (3):
  backup: more compact regex for backup file filter
  storage: merge archive format/compressor detection
  Fix: #2124 storage: add zstd support

 PVE/Storage.pm        | 86 +++++++++++++++++++++++++++++++------------
 PVE/Storage/Plugin.pm |  4 +-
 2 files changed, 65 insertions(+), 25 deletions(-)


__pve-guest-common__

Alwin Antreich (1):
  Fix: #2124 add zstd support

 PVE/VZDump/Common.pm | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)


__pve-manager__

Alwin Antreich (2):
  Fix #2124: Add support for zstd
  Fix #2124: Add zstd pkg as install dependency

 PVE/VZDump.pm                            | 6 ++++--
 debian/control                           | 1 +
 www/manager6/form/CompressionSelector.js | 3 ++-
 3 files changed, 7 insertions(+), 3 deletions(-)

-- 
2.20.1





More information about the pve-devel mailing list