3 ms·
Do a scrub every once in a while. Mount with discard=async or turn on systemd's fstrim service if you're using SSDs. If it would actually affect performance, t
by heavyset_go 3y ago
Do a scrub every once in a while. Mount with discard=async or turn on systemd's fstrim service if you're using SSDs.
If it would actually affect performance, turn on autodefrag. Be aware that running a manual defrag, instead of using the mount option, will break reflinks.
- quantumfissure 3y agoAs of kernel 6.2, discard=async isn't needed anymore. It got a fix in 6.3[1] [1]:https://www.phoronix.com/news/Btrfs-Discard-Tuning-Linux-6.3 https://www.phoronix.com/news/Btrfs-Discard-Tuning-Linux-6.3
- heavyset_go 3y agoNice, thanks for the heads up.