Add zstd toggle for btrfs and zram
This commit is contained in:
@@ -19,7 +19,19 @@
|
||||
path: /mnt
|
||||
src: "{{ partitioning_root_device }}"
|
||||
fstype: btrfs
|
||||
opts: rw,relatime,compress=zstd:15,ssd,space_cache=v2,discard=async
|
||||
opts: >-
|
||||
{{
|
||||
[
|
||||
'rw',
|
||||
'relatime',
|
||||
partitioning_btrfs_compress_opt,
|
||||
'ssd',
|
||||
'space_cache=v2',
|
||||
'discard=async'
|
||||
]
|
||||
| reject('equalto', '')
|
||||
| join(',')
|
||||
}}
|
||||
state: mounted
|
||||
|
||||
- name: Enable quotas on Btrfs filesystem
|
||||
|
||||
Reference in New Issue
Block a user