From: Lennart Poettering Date: Fri, 5 Nov 2021 14:24:58 +0000 (+0100) Subject: homework: default to btrfs compression X-Git-Tag: v250-rc1~283^2~2 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=a428a4518b7adaae282cf9f1e623a44d4c7191df;p=thirdparty%2Fsystemd.git homework: default to btrfs compression This follows what Fedora did with 34: enables compression by default, lowering IO bandwidth and reducing disk space use, at the price of slightly higher CPU use. https://fedoraproject.org/wiki/Changes/BtrfsTransparentCompression --- diff --git a/src/home/homework-mount.c b/src/home/homework-mount.c index 82b461a9873..d73a908f1cf 100644 --- a/src/home/homework-mount.c +++ b/src/home/homework-mount.c @@ -25,7 +25,7 @@ static const char *mount_options_for_fstype(const char *fstype) { if (streq(fstype, "xfs")) return "noquota"; if (streq(fstype, "btrfs")) - return "noacl"; + return "noacl,compress=zstd:1"; return NULL; }