[Kernel-packages] [Bug 1765998] Re: FS access deadlock with btrfs quotas enabled

2020-03-19 Thread Dmitrii Shcherbakov
Recently hit that on Focal due to the fact that quotas were enabled by LXD. This renders the system completely unresponsive if you use btrfs as a rootfs with btrfs-transaction or btrfs-cleaner kernel threads hogging a 100% of 1 CPU core. Booting using a live USB, disabling quotas and temporarily

[Kernel-packages] [Bug 1765998] Re: FS access deadlock with btrfs quotas enabled

2020-03-16 Thread TomaszChmielewski
See also: https://github.com/lxc/lxd/issues/7029 ** Bug watch added: LXD bug tracker #7029 https://github.com/lxc/lxd/issues/7029 -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux in Ubuntu. https://bugs.launchpad.net/bugs/1765998

[Kernel-packages] [Bug 1765998] Re: FS access deadlock with btrfs quotas enabled

2019-07-24 Thread Brad Figg
** Tags added: cscc -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux in Ubuntu. https://bugs.launchpad.net/bugs/1765998 Title: FS access deadlock with btrfs quotas enabled Status in linux package in Ubuntu: Triaged Status in lin

[Kernel-packages] [Bug 1765998] Re: FS access deadlock with btrfs quotas enabled

2019-03-03 Thread Stéphane Lesimple
I see, thanks for the info. I'll report my findings so far here, in case it turns out useful to some future person landing on this bug later: The call trace of the deadlocked btrfs-cleaner kthread is as follows. Tainted: P OE4.15.0-45-generic #48-Ubuntu btrfs-cleaner D0

[Kernel-packages] [Bug 1765998] Re: FS access deadlock with btrfs quotas enabled

2019-03-01 Thread Michael Sparmann
Hm, it's been a while... I think back then I made some btrfs developers aware of it on IRC, but never got around to sending it to the mailing list. I'm running my own kernel builds for now (I had to do that to fix some other issues anyway) with the patch from comment #4 applied, which seems to re

[Kernel-packages] [Bug 1765998] Re: FS access deadlock with btrfs quotas enabled

2019-02-26 Thread Stéphane Lesimple
I confirm I'm having this problem too since migrating to Bionic from Xenial. My setup is a bit analogous to the original bug reporter: I have 5 drives (22 TB) in RAID1, organized in around 10 subvolumes with up to 20 snapshots per subvolume. After some hours running normally, at some point [btrfs

[Kernel-packages] [Bug 1765998] Re: FS access deadlock with btrfs quotas enabled

2018-04-24 Thread Joseph Salisbury
This issue appears to be an upstream bug, since the bug still exists in mainline without a revert. Would it be possible for you to open an upstream bug report[0] and maybe ping the patch author? That will allow the upstream Developers to examine the issue, and may provide a quicker resolution

[Kernel-packages] [Bug 1765998] Re: FS access deadlock with btrfs quotas enabled

2018-04-23 Thread Michael Sparmann
** Changed in: linux (Ubuntu Bionic) Status: Incomplete => Confirmed ** Tags added: kernel-bug-exists-upstream -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux in Ubuntu. https://bugs.launchpad.net/bugs/1765998 Title: FS ac

[Kernel-packages] [Bug 1765998] Re: FS access deadlock with btrfs quotas enabled

2018-04-23 Thread Ubuntu Foundations Team Bug Bot
** Tags added: patch -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux in Ubuntu. https://bugs.launchpad.net/bugs/1765998 Title: FS access deadlock with btrfs quotas enabled Status in linux package in Ubuntu: Incomplete Status in

[Kernel-packages] [Bug 1765998] Re: FS access deadlock with btrfs quotas enabled

2018-04-23 Thread Michael Sparmann
I can confirm that the issue still exists in the mainline kernel build linked above. -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux in Ubuntu. https://bugs.launchpad.net/bugs/1765998 Title: FS access deadlock with btrfs quotas en

[Kernel-packages] [Bug 1765998] Re: FS access deadlock with btrfs quotas enabled

2018-04-23 Thread Michael Sparmann
This patch seems to fix it for me (running that for several days now). ** Patch added: "0002-qgroup_accounting_fix.patch" https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1765998/+attachment/5126022/+files/0002-qgroup_accounting_fix.patch -- You received this bug notification because you

[Kernel-packages] [Bug 1765998] Re: FS access deadlock with btrfs quotas enabled

2018-04-23 Thread Joseph Salisbury
I tried to build a Bionic test kernel with commit fb235dc reverted, but it does not revert cleanly and requires a back port. Do you have the back port you performed and can post to the bug? Also, would it be possible for you to test the latest mainline kernel to see if the bug is already fixed up

[Kernel-packages] [Bug 1765998] Re: FS access deadlock with btrfs quotas enabled

2018-04-23 Thread Joseph Salisbury
** Changed in: linux (Ubuntu) Importance: Undecided => High ** Also affects: linux (Ubuntu Bionic) Importance: High Status: Confirmed ** Tags added: bionic kernel-da-key -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux

[Kernel-packages] [Bug 1765998] Re: FS access deadlock with btrfs quotas enabled

2018-04-21 Thread Michael Sparmann
I cannot run the affected (production) system using a broken kernel, and it will lockup after boot within seconds. If necessary, I can provide additional information or testing upon request. ** Changed in: linux (Ubuntu) Status: Incomplete => Confirmed -- You received this bug notificati