On 2020-03-16 12:13, Tomasz Chmielewski wrote:
After upgrading to Linux 5.5 (tried 5.5.6, 5.5.9, also 5.6.0-rc5), the
system panics shortly after mounting and starting to use a btrfs
filesystem. Here is a dmesg - please advise how to deal with it.
It has since crashed several times, because of panic=10 parameter
(system boots, runs for a while, crashes, boots again, and so on).
Additionally, I also see that btrfs quota was enabled:
[ 129.044896] CPU: 4 PID: 4476 Comm: btrfs-transacti Kdump: loaded
Not tainted 5.6.0-050600rc5-generic #202003082130
[ 129.044897] Hardware name: GIGABYTE MZ31-AR0-00/MZ31-AR0-00, BIOS
F03e 09/13/2017
[ 129.044941] RIP: 0010:btrfs_qgroup_account_extents+0x211/0x250
[btrfs]
How is that possible? I always make sure to disable btrfs quotas after
creating a filesystem, and it was also the case here:
# history|grep quota
4894 btrfs quota disable /data/lxd # <------ long time ago, history
at 4894, now history at >11207
11207 history|grep quota
The server does not seem to crash with quotas disabled (at least it's up
for 30 mins now).
Now I've checked a couple of other servers, and on some of them, quota
is also enabled (as verified with "btrfs quota rescan /data/lxd", which
in not exiting with an error if the quotas are on - is there a better
check to see if the quota is on or off?). That's not very encouraging
that quota somehow enables itself.
Tomasz Chmielewski
https://lxadm.com