Add comment describing the situation with space_cache on btrfs

This commit is contained in:
dalto 2021-11-12 08:58:43 -06:00
parent 0bef2a91a1
commit 9ef520f862

View File

@ -11,6 +11,12 @@
# Mount options to use for all filesystems. If a specific filesystem
# is listed here, use those options, otherwise use the *default*
# options from this mapping.
#
# With kernels 5.15 and newer be cautious of adding the option
# space_cache to the btrfs mount options. If the root volume is initially
# mounted with one version of space_cache and the mount option specifies
# a different version or implies v1 when v2 is in use, it may fail to
# remount properly.
mountOptions:
default: defaults,noatime
btrfs: defaults,noatime,autodefrag,compress=zstd