diff options
author | Lennart Poettering <lennart@poettering.net> | 2021-11-05 15:24:58 +0100 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2021-11-12 17:33:16 +0100 |
commit | a428a4518b7adaae282cf9f1e623a44d4c7191df (patch) | |
tree | 8df1e81240daa9b095a942064af66f1e6a74ecd3 /src/home/homework-mount.c | |
parent | execute: always log a warning when setting SELinux context fails (diff) | |
download | systemd-a428a4518b7adaae282cf9f1e623a44d4c7191df.tar.xz systemd-a428a4518b7adaae282cf9f1e623a44d4c7191df.zip |
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
Diffstat (limited to 'src/home/homework-mount.c')
-rw-r--r-- | src/home/homework-mount.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/home/homework-mount.c b/src/home/homework-mount.c index 82b461a987..d73a908f1c 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; } |