------------[ cut here ]------------ btree trans held srcu lock (delaying memory reclaim) for 59 seconds WARNING: CPU: 0 PID: 9804 at fs/bcachefs/btree_iter.c:3002 check_srcu_held_too_long fs/bcachefs/btree_iter.c:3000 [inline] WARNING: CPU: 0 PID: 9804 at fs/bcachefs/btree_iter.c:3002 bch2_trans_put+0xb08/0xc8c fs/bcachefs/btree_iter.c:3246 Modules linked in: CPU: 0 UID: 0 PID: 9804 Comm: syz.3.1086 Not tainted 6.11.0-rc7-syzkaller-g5f5673607153 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/06/2024 pstate: 60400005 (nZCv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--) pc : check_srcu_held_too_long fs/bcachefs/btree_iter.c:3000 [inline] pc : bch2_trans_put+0xb08/0xc8c fs/bcachefs/btree_iter.c:3246 lr : check_srcu_held_too_long fs/bcachefs/btree_iter.c:3000 [inline] lr : bch2_trans_put+0xb08/0xc8c fs/bcachefs/btree_iter.c:3246 sp : ffff8000a3cb6f40 x29: ffff8000a3cb6f80 x28: 0000000000000040 x27: dfff800000000000 x26: ffff0000eb2d41b8 x25: 0000000000000040 x24: 1fffe0001d65a808 x23: ffff80008f4ef000 x22: ffffffffffffecd9 x21: ffff0000eb2d4042 x20: 1ffff00011e9de40 x19: 00000000ffffafc7 x18: 0000000000000008 x17: 0000000000000000 x16: ffff80008b274630 x15: ffff700011ebd1e8 x14: 1ffff00011ebd1e8 x13: 0000000000000004 x12: ffffffffffffffff x11: 0000000000040000 x10: 000000000003ffff x9 : 0ef4aa013deba900 x8 : 0ef4aa013deba900 x7 : 0000000000000001 x6 : 0000000000000001 x5 : ffff8000a3cb6698 x4 : ffff80008f65b620 x3 : ffff800080383398 x2 : 0000000000000000 x1 : 0000000100000000 x0 : 0000000000000000 Call trace: check_srcu_held_too_long fs/bcachefs/btree_iter.c:3000 [inline] bch2_trans_put+0xb08/0xc8c fs/bcachefs/btree_iter.c:3246 bch2_btree_root_read+0x468/0x53c fs/bcachefs/btree_io.c:1773 read_btree_roots+0x250/0x798 fs/bcachefs/recovery.c:523 bch2_fs_recovery+0x3278/0x5514 fs/bcachefs/recovery.c:851 bch2_fs_start+0x30c/0x53c fs/bcachefs/super.c:1036 bch2_fs_get_tree+0x938/0x1030 fs/bcachefs/fs.c:1946 vfs_get_tree+0x90/0x28c fs/super.c:1800 do_new_mount+0x278/0x900 fs/namespace.c:3472 path_mount+0x590/0xe04 fs/namespace.c:3799 do_mount fs/namespace.c:3812 [inline] __do_sys_mount fs/namespace.c:4020 [inline] __se_sys_mount fs/namespace.c:3997 [inline] __arm64_sys_mount+0x45c/0x5a8 fs/namespace.c:3997 __invoke_syscall arch/arm64/kernel/syscall.c:35 [inline] invoke_syscall+0x98/0x2b8 arch/arm64/kernel/syscall.c:49 el0_svc_common+0x130/0x23c arch/arm64/kernel/syscall.c:132 do_el0_svc+0x48/0x58 arch/arm64/kernel/syscall.c:151 el0_svc+0x54/0x168 arch/arm64/kernel/entry-common.c:712 el0t_64_sync_handler+0x84/0xfc arch/arm64/kernel/entry-common.c:730 el0t_64_sync+0x190/0x194 arch/arm64/kernel/entry.S:598 irq event stamp: 87786 hardirqs last enabled at (87785): [] __up_console_sem kernel/printk/printk.c:341 [inline] hardirqs last enabled at (87785): [] __console_unlock kernel/printk/printk.c:2801 [inline] hardirqs last enabled at (87785): [] console_unlock+0x18c/0x3d4 kernel/printk/printk.c:3120 hardirqs last disabled at (87786): [] el1_dbg+0x24/0x80 arch/arm64/kernel/entry-common.c:470 softirqs last enabled at (87284): [] softirq_handle_end kernel/softirq.c:400 [inline] softirqs last enabled at (87284): [] handle_softirqs+0xa3c/0xbfc kernel/softirq.c:582 softirqs last disabled at (84633): [] __do_softirq+0x14/0x20 kernel/softirq.c:588 ---[ end trace 0000000000000000 ]---