Merge pull request #1777 from librewish/btrfs_additions

[fstab] Improve btrfs mount options
This commit is contained in:
Adriaan de Groot 2021-09-24 11:26:41 +02:00 committed by GitHub
commit 88669a4079
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -13,7 +13,7 @@
# options from this mapping.
mountOptions:
default: defaults,noatime
btrfs: defaults,noatime,space_cache,autodefrag
btrfs: defaults,noatime,space_cache,autodefrag,compress=zstd
# Mount options to use for the EFI System Partition. If not defined, the
# *mountOptions* for *vfat* are used, or if that is not set either,
@ -38,10 +38,10 @@ efiMountOptions: umask=0077
# swap: discard
# btrfs: discard,compress=lzo
#
# The standard configuration applies only lzo compression to btrfs
# The standard configuration applies asynchronous discard support and ssd optimizations to btrfs
# and does nothing for other filesystems.
ssdExtraMountOptions:
btrfs: compress=lzo
btrfs: discard=async,ssd
# Additional options added to each line in /etc/crypttab
crypttabOptions: luks