------------[ cut here ]------------ btree trans held srcu lock (delaying memory reclaim) for 13 seconds WARNING: CPU: 1 PID: 7120 at fs/bcachefs/btree_iter.c:2998 check_srcu_held_too_long fs/bcachefs/btree_iter.c:2996 [inline] WARNING: CPU: 1 PID: 7120 at fs/bcachefs/btree_iter.c:2998 bch2_trans_put+0xba8/0xd94 fs/bcachefs/btree_iter.c:3238 Modules linked in: CPU: 1 PID: 7120 Comm: bch-reclaim/loo Not tainted 6.10.0-rc7-syzkaller-gc912bf709078 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/27/2024 pstate: 60400005 (nZCv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--) pc : check_srcu_held_too_long fs/bcachefs/btree_iter.c:2996 [inline] pc : bch2_trans_put+0xba8/0xd94 fs/bcachefs/btree_iter.c:3238 lr : check_srcu_held_too_long fs/bcachefs/btree_iter.c:2996 [inline] lr : bch2_trans_put+0xba8/0xd94 fs/bcachefs/btree_iter.c:3238 sp : ffff8000a13878e0 x29: ffff8000a1387920 x28: 0000000000000040 x27: dfff800000000000 x26: ffff0000d6f6c198 x25: 0000000000000040 x24: 1fffe0001aded808 x23: ffff80008f25f000 x22: fffffffffffffe88 x21: ffff0000d6f6c041 x20: 1ffff00011e4be40 x19: 00000000ffffaa38 x18: 1fffe000367a85de x17: ffff80008f2dd000 x16: ffff80008032d32c x15: 0000000000000001 x14: 1fffe000367ab200 x13: 0000000000000000 x12: 0000000000000003 x11: 0000000000000001 x10: 0000000000000003 x9 : 9a6489b1fc4c3c00 x8 : 9a6489b1fc4c3c00 x7 : ffff8000802a3bb0 x6 : 0000000000000000 x5 : 0000000000000001 x4 : 0000000000000001 x3 : 0000000000000000 x2 : 0000000000000007 x1 : ffff80008b2c0360 x0 : ffff800124b1b000 Call trace: check_srcu_held_too_long fs/bcachefs/btree_iter.c:2996 [inline] bch2_trans_put+0xba8/0xd94 fs/bcachefs/btree_iter.c:3238 bch2_btree_key_cache_journal_flush+0x1e8/0x3d4 fs/bcachefs/btree_key_cache.c:742 journal_flush_pins+0x524/0xa10 fs/bcachefs/journal_reclaim.c:553 __bch2_journal_reclaim+0x71c/0x1024 fs/bcachefs/journal_reclaim.c:685 bch2_journal_reclaim_thread+0x154/0x4b8 fs/bcachefs/journal_reclaim.c:727 kthread+0x288/0x310 kernel/kthread.c:389 ret_from_fork+0x10/0x20 arch/arm64/kernel/entry.S:860 irq event stamp: 6796 hardirqs last enabled at (6795): [] raw_spin_rq_unlock_irq kernel/sched/sched.h:1418 [inline] hardirqs last enabled at (6795): [] finish_lock_switch+0xbc/0x1e4 kernel/sched/core.c:5162 hardirqs last disabled at (6796): [] el1_dbg+0x24/0x80 arch/arm64/kernel/entry-common.c:470 softirqs last enabled at (6628): [] local_bh_enable+0x10/0x34 include/linux/bottom_half.h:32 softirqs last disabled at (6626): [] local_bh_disable+0x10/0x34 include/linux/bottom_half.h:19 ---[ end trace 0000000000000000 ]---