------------[ cut here ]------------ btree trans held srcu lock (delaying memory reclaim) for 35 seconds WARNING: CPU: 1 PID: 21010 at fs/bcachefs/btree_iter.c:3030 check_srcu_held_too_long fs/bcachefs/btree_iter.c:3028 [inline] WARNING: CPU: 1 PID: 21010 at fs/bcachefs/btree_iter.c:3030 bch2_trans_put+0xd45/0xf00 fs/bcachefs/btree_iter.c:3274 Modules linked in: CPU: 1 UID: 0 PID: 21010 Comm: bch-reclaim/loo Not tainted 6.13.0-rc5-syzkaller-00004-gccb98ccef0e5 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 RIP: 0010:check_srcu_held_too_long fs/bcachefs/btree_iter.c:3028 [inline] RIP: 0010:bch2_trans_put+0xd45/0xf00 fs/bcachefs/btree_iter.c:3274 Code: 1c 24 48 c1 eb 02 48 b9 c3 f5 28 5c 8f c2 f5 28 48 89 d8 48 f7 e1 48 c1 ea 02 48 c7 c7 80 3d 51 8c 48 89 d6 e8 ec ae 3f fd 90 <0f> 0b 90 90 e9 af f8 ff ff e8 cd 0a 7f fd 90 0f 0b 90 e9 f2 f8 ff RSP: 0018:ffffc9000c32f8a0 EFLAGS: 00010246 RAX: d0a7de5071c3ad00 RBX: 0000000000000372 RCX: ffff88802ee9da00 RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000000 RBP: dffffc0000000000 R08: ffffffff81601a82 R09: fffffbfff1cfa210 R10: dffffc0000000000 R11: fffffbfff1cfa210 R12: ffff88807a47c070 R13: 1ffff1100f48f80e R14: ffff88807a47c042 R15: 1ffff1100f48f808 FS: 0000000000000000(0000) GS:ffff8880b8700000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007ffdd9067b18 CR3: 000000005c69c000 CR4: 0000000000350ef0 Call Trace: bch2_btree_key_cache_journal_flush+0x39f/0xe70 fs/bcachefs/btree_key_cache.c:518 journal_flush_pins+0x5f9/0xb20 fs/bcachefs/journal_reclaim.c:565 __bch2_journal_reclaim+0x789/0xda0 fs/bcachefs/journal_reclaim.c:698 bch2_journal_reclaim_thread+0x174/0x560 fs/bcachefs/journal_reclaim.c:740 kthread+0x2f2/0x390 kernel/kthread.c:389 ret_from_fork+0x4d/0x80 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244