FS#76266 - [inux] 6.0.3 breaks boot on btrfs with space_cache version 1
Attached to Project:
Arch Linux
Opened by Tobias Powalowski (tpowa) - Saturday, 22 October 2022, 15:56 GMT
Last edited by Tobias Powalowski (tpowa) - Wednesday, 26 October 2022, 16:31 GMT
Opened by Tobias Powalowski (tpowa) - Saturday, 22 October 2022, 15:56 GMT
Last edited by Tobias Powalowski (tpowa) - Wednesday, 26 October 2022, 16:31 GMT
|
Details
Hi,
latest kernel in testing breaks boot on 6.0.3: https://pkgbuild.com/~tpowa/IMG-6839.JPG To solve the issue: mount your btrfs filesystem with clear_cache,space_cache=v2 option one time. Either on bootloader or in fstab you need to use this options or downgrade to kernel 6.0.2. By using this way your space cache is converted to version 2, which is the default since kernel 5.15. 6.0.5 reverts the commit that causes that issue. |
This task depends upon
Closed by Tobias Powalowski (tpowa)
Wednesday, 26 October 2022, 16:31 GMT
Reason for closing: Fixed
Additional comments about closing: 6.0.5-1 in testing
Wednesday, 26 October 2022, 16:31 GMT
Reason for closing: Fixed
Additional comments about closing: 6.0.5-1 in testing
Way later than in tpowa's case, but it still got stuck.
The system has 5 distinct btrfs filesystems, all had space_cache v1. only when mounting the 4th, it got stuck.
( the 5th gets automounted on demand, so that's probably why it does not get involved here)
It also complained about cpu being stuck, same backtrace and switching to spache_cache v2 workaround helped.
2291416ef48d98059f9fdc5d865b0ff040148237.camel@scientia.org/T/#u"> https://lore.kernel.org/linux-btrfs/2291416ef48d98059f9fdc5d865b0ff040148237.camel@scientia.org/T/#u
Also on 6.0.3 ... though at least one part of it, worked later on 6.0.3.
https://lore.kernel.org/all/Y1aeWdHd4%2FluzhAu%40localhost.localdomain/
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?h=v6.0.5&id=217fd7557896d990c3dd8beea83a6feeb504f235