News for hackers. Stuff that matters.
Re:Scripts for Btrfs Maintenance by heavyset_go on Wednesday June 07, 2023 @07:29AM (#36225516)
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.

Re:Scripts for Btrfs Maintenance by quantumfissure on Wednesday June 07, 2023 @08:20AM (#36225881)
As 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

Re:Scripts for Btrfs Maintenance by heavyset_go on Wednesday June 07, 2023 @08:04PM (#36235393)
Nice, thanks for the heads up.