aiidateam / disk-objectstore

An implementation of an efficient "object store" (actually, a key-value store) writing files on disk and not requiring a running server
https://disk-objectstore.readthedocs.io
MIT License
15 stars 8 forks source link

Add compression-by-filesystem as an option #109

Open dev-zero opened 3 years ago

dev-zero commented 3 years ago

Several filesystems (btrfs, zfs) have transparent compression support. On those filesystems it would make sense to use the kernel-side compression instead of an explicit per-pack compression.

dev-zero commented 3 years ago

For Btrfs (and also zfs) this is done with chattr +c file on the command line (unnecessary if the compression mount option is given).