------------[ cut here ]------------ btree trans held srcu lock (delaying memory reclaim) for 10 seconds WARNING: CPU: 1 PID: 7087 at fs/bcachefs/btree_iter.c:3276 check_srcu_held_too_long fs/bcachefs/btree_iter.c:3274 [inline] WARNING: CPU: 1 PID: 7087 at fs/bcachefs/btree_iter.c:3276 bch2_trans_put+0xcd4/0xed8 fs/bcachefs/btree_iter.c:3570 Modules linked in: CPU: 1 UID: 0 PID: 7087 Comm: bch-reclaim/loo 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 : ffff8000a40c77e0 x29: ffff8000a40c7900 x28: ffff700014818f0c x27: ffff00011c350000 x26: ffff700014818f0c x25: ffff00011c350046 x24: ffff000105a80000 x23: dfff800000000000 x22: ffff80008f7e0000 x21: 1ffff00011efc040 x20: 00000000ffff9d9a x19: ffffffffffffffe5 x18: 00000000ffffffff x17: ffff800093605000 x16: ffff80008b065bd0 x15: 0000000000000001 x14: 1fffe00033778f08 x13: 0000000000000000 x12: 0000000000000000 x11: ffff800093404c28 x10: 0000000000000003 x9 : e79e4306cdbd9d00 x8 : e79e4306cdbd9d00 x7 : ffff800080493890 x6 : 0000000000000000 x5 : 0000000000000001 x4 : 0000000000000001 x3 : 0000000000000010 x2 : 0000000000000007 x1 : ffff80008b6b38c0 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) __btree_node_flush+0x210/0x28c fs/bcachefs/btree_trans_commit.c:258 bch2_btree_node_flush0+0x38/0x50 fs/bcachefs/btree_trans_commit.c:264 journal_flush_pins+0x6f4/0xc98 fs/bcachefs/journal_reclaim.c:604 __bch2_journal_reclaim+0x858/0xf84 fs/bcachefs/journal_reclaim.c:732 bch2_journal_reclaim_thread+0x13c/0x480 fs/bcachefs/journal_reclaim.c:774 kthread+0x5fc/0x75c kernel/kthread.c:463 ret_from_fork+0x10/0x20 arch/arm64/kernel/entry.S:844 irq event stamp: 17762 hardirqs last enabled at (17761): [] raw_spin_rq_unlock_irq kernel/sched/sched.h:1531 [inline] hardirqs last enabled at (17761): [] finish_lock_switch+0xb0/0x1c0 kernel/sched/core.c:5105 hardirqs last disabled at (17762): [] el1_brk64+0x20/0x54 arch/arm64/kernel/entry-common.c:434 softirqs last enabled at (17758): [] softirq_handle_end kernel/softirq.c:425 [inline] softirqs last enabled at (17758): [] handle_softirqs+0xaf8/0xc88 kernel/softirq.c:607 softirqs last disabled at (15063): [] __do_softirq+0x14/0x20 kernel/softirq.c:613 ---[ end trace 0000000000000000 ]---