------------[ cut here ]------------ btree trans held srcu lock (delaying memory reclaim) for 42 seconds WARNING: CPU: 0 PID: 7370 at fs/bcachefs/btree_iter.c:3276 check_srcu_held_too_long fs/bcachefs/btree_iter.c:3274 [inline] WARNING: CPU: 0 PID: 7370 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: 7370 Comm: syz.4.134 Not tainted 6.16.0-rc5-syzkaller-gec4801305969 #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 : ffff80009f716d80 x29: ffff80009f716ea0 x28: ffff700013ee2dc0 x27: ffff0000f9fc4000 x26: ffff700013ee2dc0 x25: ffff0000f9fc4046 x24: ffff000108800000 x23: dfff800000000000 x22: ffff80008f5f0000 x21: 1ffff00011ebe040 x20: 00000000ffffad06 x19: fffffffffffff378 x18: 1fffe000337d4076 x17: ffff80008f66e000 x16: ffff80008aefc458 x15: 0000000000000001 x14: 1fffe0001a5d2880 x13: 0000000000000000 x12: 0000000000000000 x11: 0000000000080000 x10: 0000000000000003 x9 : 08a6551b9ef32200 x8 : 08a6551b9ef32200 x7 : ffff800080488a2c x6 : 0000000000000000 x5 : 0000000000000001 x4 : 0000000000000001 x3 : ffff80008047ad28 x2 : 0000000000000001 x1 : ffff80008b538ee0 x0 : 0000000000000001 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:1930 read_btree_roots+0x218/0x6c0 fs/bcachefs/recovery.c:604 bch2_fs_recovery+0x1bb4/0x2fb4 fs/bcachefs/recovery.c:995 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: 89872 hardirqs last enabled at (89871): [] raw_spin_rq_unlock_irq kernel/sched/sched.h:1544 [inline] hardirqs last enabled at (89871): [] finish_lock_switch+0xb0/0x1c0 kernel/sched/core.c:5149 hardirqs last disabled at (89872): [] el1_brk64+0x1c/0x48 arch/arm64/kernel/entry-common.c:574 softirqs last enabled at (89864): [] softirq_handle_end kernel/softirq.c:425 [inline] softirqs last enabled at (89864): [] handle_softirqs+0xaf8/0xc88 kernel/softirq.c:607 softirqs last disabled at (87571): [] __do_softirq+0x14/0x20 kernel/softirq.c:613 ---[ end trace 0000000000000000 ]---