------------[ cut here ]------------ btree trans held srcu lock (delaying memory reclaim) for 12 seconds WARNING: CPU: 0 PID: 11360 at fs/bcachefs/btree_iter.c:3276 check_srcu_held_too_long fs/bcachefs/btree_iter.c:3274 [inline] WARNING: CPU: 0 PID: 11360 at fs/bcachefs/btree_iter.c:3276 bch2_trans_put+0xf90/0x1220 fs/bcachefs/btree_iter.c:3570 Modules linked in: CPU: 0 UID: 0 PID: 11360 Comm: bch-reclaim/loo Not tainted 6.16.0-rc6-syzkaller #0 PREEMPT(full) Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/07/2025 RIP: 0010:check_srcu_held_too_long fs/bcachefs/btree_iter.c:3274 [inline] RIP: 0010:bch2_trans_put+0xf90/0x1220 fs/bcachefs/btree_iter.c:3570 Code: 2b 33 49 c1 ee 02 48 b9 c3 f5 28 5c 8f c2 f5 28 4c 89 f0 48 f7 e1 48 c1 ea 02 48 c7 c7 00 65 d3 8b 48 89 d6 e8 a1 81 5f fd 90 <0f> 0b 90 90 e9 98 f7 ff ff e8 c2 9e 9b fd 90 0f 0b 90 e9 de f7 ff RSP: 0018:ffffc9000ed677a0 EFLAGS: 00010246 RAX: 2ba22bc0dd289f00 RBX: ffff88804ddc4088 RCX: ffff88805d389e00 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000002 RBP: ffffc9000ed67910 R08: ffff8880b8624293 R09: 1ffff110170c4852 R10: dffffc0000000000 R11: ffffed10170c4853 R12: 000000010000a743 R13: 1ffff11009bb8811 R14: 0000000000000139 R15: 1ffff11009bb8809 FS: 0000000000000000(0000) GS:ffff888125c1b000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000200000024000 CR3: 00000000545c6000 CR4: 0000000000350ef0 Call Trace: __btree_node_flush+0x33a/0x430 fs/bcachefs/btree_trans_commit.c:258 bch2_btree_node_flush0+0x27/0x40 fs/bcachefs/btree_trans_commit.c:264 journal_flush_pins+0x8e3/0xe90 fs/bcachefs/journal_reclaim.c:604 __bch2_journal_reclaim+0x8e9/0xea0 fs/bcachefs/journal_reclaim.c:732 bch2_journal_reclaim_thread+0x177/0x4f0 fs/bcachefs/journal_reclaim.c:774 kthread+0x711/0x8a0 kernel/kthread.c:464 ret_from_fork+0x3fc/0x770 arch/x86/kernel/process.c:148 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:245