trim partitions asynchronously

https://btrfs.readthedocs.io/en/latest/Trim.html
This commit is contained in:
f 2022-07-02 19:27:40 -03:00
parent 0d1d684aab
commit 2e5739f8aa

View file

@ -1,5 +1,5 @@
{{disk_device}}2 / btrfs compress=zstd,noatime,nodiratime,lazytime,discard 0 1 {{disk_device}}2 / btrfs compress=zstd,noatime,nodiratime,lazytime,discard=async 0 1
{{disk_device}}1 /boot ext2 noatime,nodiratime,lazytime,ro 0 2 {{disk_device}}1 /boot ext2 noatime,nodiratime,lazytime,ro 0 2
/dev/mapper/srv /srv btrfs compress=zstd,noatime,nodiratime,lazytime,discard,noauto 0 2 /dev/mapper/srv /srv btrfs compress=zstd,noatime,nodiratime,lazytime,discard=async,noauto 0 2
tmpfs /var/log tmpfs defaults 0 0 tmpfs /var/log tmpfs defaults 0 0
/srv/docker /var/lib/docker none bind 0 0 /srv/docker /var/lib/docker none bind 0 0