bcachefs-tools/docs/feat-compression.rst
2022-11-01 22:28:07 -04:00

12 lines
441 B
ReStructuredText

Compression
~~~~~~~~~~~
bcachefs supports gzip, lz4 and zstd compression. As with data
checksumming, we compress entire extents, not individual disk blocks -
this gives us better compression ratios than other filesystems, at the
cost of reduced small random read performance.
Data can also be compressed or recompressed with a different algorithm
in the background by the rebalance thread, if the
``background_compression`` option is set.