------------[ cut here ]------------ btree trans held srcu lock (delaying memory reclaim) for 10 seconds WARNING: CPU: 1 PID: 6771 at fs/bcachefs/btree_iter.c:2998 check_srcu_held_too_long fs/bcachefs/btree_iter.c:2996 [inline] WARNING: CPU: 1 PID: 6771 at fs/bcachefs/btree_iter.c:2998 bch2_trans_put+0xdd0/0x1030 fs/bcachefs/btree_iter.c:3243 Modules linked in: CPU: 1 PID: 6771 Comm: bch-reclaim/loo Not tainted 6.10.0-rc3-syzkaller-00044-g2ccbdf43d5e7 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/07/2024 RIP: 0010:check_srcu_held_too_long fs/bcachefs/btree_iter.c:2996 [inline] RIP: 0010:bch2_trans_put+0xdd0/0x1030 fs/bcachefs/btree_iter.c:3243 Code: 2b 1e 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 e0 8e 11 8c 48 89 d6 e8 11 1c 44 fd 90 <0f> 0b 90 90 e9 e2 f7 ff ff e8 72 ed 81 fd 90 0f 0b 90 e9 25 f8 ff RSP: 0018:ffffc90004bdfb38 EFLAGS: 00010246 RAX: 6d56b42c8f225500 RBX: 0000000000000103 RCX: ffff88802932bc00 RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000000 RBP: dffffc0000000000 R08: ffffffff81585822 R09: 1ffff1101728519a R10: dffffc0000000000 R11: ffffed101728519b R12: 1ffff1100cceb808 R13: 1ffff1100cceb80e R14: ffff88806675c070 R15: ffff88806675c041 FS: 0000000000000000(0000) GS:ffff8880b9500000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000000002001c000 CR3: 00000000608d2000 CR4: 0000000000350ef0 Call Trace: bch2_btree_node_flush0+0x27/0x40 fs/bcachefs/btree_trans_commit.c:259 journal_flush_pins+0x5f9/0xb20 fs/bcachefs/journal_reclaim.c:553 __bch2_journal_reclaim+0x77d/0xe40 fs/bcachefs/journal_reclaim.c:685 bch2_journal_reclaim_thread+0x174/0x560 fs/bcachefs/journal_reclaim.c:727 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