------------[ cut here ]------------ btree trans held srcu lock (delaying memory reclaim) for 81 seconds WARNING: CPU: 0 PID: 10196 at fs/bcachefs/btree_iter.c:3276 check_srcu_held_too_long fs/bcachefs/btree_iter.c:3274 [inline] WARNING: CPU: 0 PID: 10196 at fs/bcachefs/btree_iter.c:3276 bch2_trans_put+0xcd4/0xed8 fs/bcachefs/btree_iter.c:3570 Modules linked in: CPU: 0 UID: 0 PID: 10196 Comm: syz.1.1078 Not tainted 6.16.0-rc7-syzkaller-g82af5ea7c611 #0 PREEMPT Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/07/2025 pstate: 60400005 (nZCv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--) pc : check_srcu_held_too_long fs/bcachefs/btree_iter.c:3274 [inline] pc : bch2_trans_put+0xcd4/0xed8 fs/bcachefs/btree_iter.c:3570 lr : check_srcu_held_too_long fs/bcachefs/btree_iter.c:3274 [inline] lr : bch2_trans_put+0xcd4/0xed8 fs/bcachefs/btree_iter.c:3570 sp : ffff80009bf56d80 x29: ffff80009bf56ea0 x28: ffff7000137eadc0 x27: ffff00010ac48000 x26: ffff7000137eadc0 x25: ffff00010ac48046 x24: ffff0000d6e00000 x23: dfff800000000000 x22: ffff80008f600000 x21: 1ffff00011ec0040 x20: 00000000ffffcadc x19: ffffffffffffe40f x18: 00000000ffffffff x17: ffff800093376000 x16: ffff80008ae69508 x15: ffff700011ee0158 x14: 1ffff00011ee0158 x13: 0000000000000004 x12: ffffffffffffffff x11: 0000000000080000 x10: 000000000007ffff x9 : 8ded42ce552c9e00 x8 : 8ded42ce552c9e00 x7 : 0000000000000001 x6 : 0000000000000001 x5 : ffff80009bf566d8 x4 : ffff80008f776bc0 x3 : ffff80008054bdfc x2 : 0000000000000000 x1 : 0000000100000000 x0 : 0000000000000000 Call trace: check_srcu_held_too_long fs/bcachefs/btree_iter.c:3274 [inline] (P) bch2_trans_put+0xcd4/0xed8 fs/bcachefs/btree_iter.c:3570 (P) class_btree_trans_destructor fs/bcachefs/btree_iter.h:991 [inline] bch2_btree_root_read+0x310/0x3c8 fs/bcachefs/btree_io.c:1928 read_btree_roots+0x218/0x6c0 fs/bcachefs/recovery.c:615 bch2_fs_recovery+0x1bb4/0x2fb4 fs/bcachefs/recovery.c:1006 bch2_fs_start+0x940/0xbec fs/bcachefs/super.c:1213 bch2_fs_get_tree+0x880/0x107c fs/bcachefs/fs.c:2488 vfs_get_tree+0x90/0x28c fs/super.c:1804 do_new_mount+0x228/0x814 fs/namespace.c:3902 path_mount+0x5b4/0xde0 fs/namespace.c:4226 do_mount fs/namespace.c:4239 [inline] __do_sys_mount fs/namespace.c:4450 [inline] __se_sys_mount fs/namespace.c:4427 [inline] __arm64_sys_mount+0x3e8/0x468 fs/namespace.c:4427 __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+0x58/0x180 arch/arm64/kernel/entry-common.c:879 el0t_64_sync_handler+0x84/0x12c arch/arm64/kernel/entry-common.c:898 el0t_64_sync+0x198/0x19c arch/arm64/kernel/entry.S:596 irq event stamp: 194540 hardirqs last enabled at (194539): [] __up_console_sem kernel/printk/printk.c:344 [inline] hardirqs last enabled at (194539): [] __console_unlock+0x70/0xc4 kernel/printk/printk.c:2885 hardirqs last disabled at (194540): [] el1_brk64+0x1c/0x48 arch/arm64/kernel/entry-common.c:574 softirqs last enabled at (194534): [] softirq_handle_end kernel/softirq.c:425 [inline] softirqs last enabled at (194534): [] handle_softirqs+0xaf8/0xc88 kernel/softirq.c:607 softirqs last disabled at (192101): [] __do_softirq+0x14/0x20 kernel/softirq.c:613 ---[ end trace 0000000000000000 ]---