Maybe we can set default zstd compression level to 1 when SSD detected?

From: Integral
Date: Sun Apr 13 2025 - 00:08:02 EST


Hi,


When SSD is detected, maybe we can set default zstd compression level to 1.


Current default compression level for zstd is 3, which is not optimal for SSDs.

This GitHub Gist [1] can serve as a reference.


An example is Fedora Workstation [2], which uses `zstd:1` as default

compression option.


[1] Link: https://gist.github.com/braindevices/fde49c6a8f6b9aaf563fb977562aafec

[2] Link: https://fedoraproject.org/wiki/Changes/BtrfsTransparentCompression


Sincerely,

Integral