-
Notifications
You must be signed in to change notification settings - Fork 83
Description
I've recently upgraded to Leap 15.0 and after two days of usage, my desktop suddenly froze for about 30 minutes. Login took 2-3 minutes. Starting a root shell took a minute. Starting atop took a minute. btrfs was at 100% CPU.
It turned out that btrfs-balance.sh was the culprit. I figured that this was because the script has never run before, so I rolled my eyes and sat it out.
Yesterday, the script run again, hogging the computer for a couple of minutes.
I have two major issues with this:
- It happened both times after resuming from hibernate to disk. Since hibernate has been unstable in the past, this is a "oh, come on, not again!" for me.
- It takes too long without any indication what is going on.
My main disk is an SSD. Hogging the computer for several minutes when I want to do work is too much.
For the time being, I've disabled the script with systemctl disable btrfs-balance.timer
Please either make it run faster (less than 5 seconds) with a clearly visible indication that this job has started (so I know why my computer isn't responding anymore) or turn it into a background job which doesn't freeze the whole computer.