------------[ cut here ]------------ btree trans held srcu lock (delaying memory reclaim) for 21 seconds WARNING: CPU: 0 PID: 7832 at fs/bcachefs/btree_iter.c:3276 check_srcu_held_too_long fs/bcachefs/btree_iter.c:3274 [inline] WARNING: CPU: 0 PID: 7832 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: 7832 Comm: syz.6.185 Not tainted syzkaller #0 PREEMPT Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/30/2025 pstate: 63400005 (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 : ffff8000a1c16d60 x29: ffff8000a1c16e80 x28: ffff700014382dbc x27: ffff0001049e8000 x26: ffff700014382dbc x25: ffff0001049e8046 x24: ffff000102300000 x23: dfff800000000000 x22: ffff80008f760000 x21: 1ffff00011eec040 x20: 00000000ffffa28f x19: fffffffffffffb55 x18: 1fffe00033797688 x17: ffff80008f7de000 x16: ffff80008b0178d8 x15: 0000000000000001 x14: 1fffe00018d91940 x13: 0000000000000000 x12: 0000000000000000 x11: 0000000000080000 x10: 0000000000000003 x9 : 3922435a6b0b3500 x8 : 3922435a6b0b3500 x7 : ffff800080490a90 x6 : 0000000000000000 x5 : 0000000000000001 x4 : 0000000000000001 x3 : ffff800080483024 x2 : 0000000000000001 x1 : ffff80008b668700 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_dev_usage_init+0x2e8/0x354 fs/bcachefs/disk_accounting.c:951 bch2_fs_initialize+0x8e0/0x113c fs/bcachefs/recovery.c:1223 bch2_fs_start+0x930/0xbec fs/bcachefs/super.c:1214 bch2_fs_get_tree+0x880/0x107c fs/bcachefs/fs.c:2488 vfs_get_tree+0x90/0x28c fs/super.c:1815 do_new_mount+0x278/0x7f4 fs/namespace.c:3808 path_mount+0x5b4/0xde0 fs/namespace.c:4123 do_mount fs/namespace.c:4136 [inline] __do_sys_mount fs/namespace.c:4347 [inline] __se_sys_mount fs/namespace.c:4324 [inline] __arm64_sys_mount+0x3e8/0x468 fs/namespace.c:4324 __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+0x5c/0x254 arch/arm64/kernel/entry-common.c:744 el0t_64_sync_handler+0x84/0x12c arch/arm64/kernel/entry-common.c:763 el0t_64_sync+0x198/0x19c arch/arm64/kernel/entry.S:596 irq event stamp: 70936 hardirqs last enabled at (70935): [] raw_spin_rq_unlock_irq kernel/sched/sched.h:1531 [inline] hardirqs last enabled at (70935): [] finish_lock_switch+0xb0/0x1c0 kernel/sched/core.c:5105 hardirqs last disabled at (70936): [] el1_brk64+0x20/0x54 arch/arm64/kernel/entry-common.c:434 softirqs last enabled at (70932): [] softirq_handle_end kernel/softirq.c:425 [inline] softirqs last enabled at (70932): [] handle_softirqs+0xaf8/0xc88 kernel/softirq.c:607 softirqs last disabled at (67193): [] __do_softirq+0x14/0x20 kernel/softirq.c:613 ---[ end trace 0000000000000000 ]---