------------[ cut here ]------------ btree trans held srcu lock (delaying memory reclaim) for 18 seconds WARNING: CPU: 0 PID: 7816 at fs/bcachefs/btree_iter.c:3276 check_srcu_held_too_long fs/bcachefs/btree_iter.c:3274 [inline] WARNING: CPU: 0 PID: 7816 at fs/bcachefs/btree_iter.c:3276 bch2_trans_put+0xcd4/0xed8 fs/bcachefs/btree_iter.c:3570 Modules linked in: CPU: 0 UID: 0 PID: 7816 Comm: bch-reclaim/loo Not tainted 6.16.0-rc7-syzkaller-g82af5ea7c611 #0 PREEMPT Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/07/2025 pstate: 60400005 (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 : ffff8000a2cc7840 x29: ffff8000a2cc7970 x28: ffff700014598f18 x27: ffff0000f6228000 x26: ffff700014598f18 x25: ffff0000f6228046 x24: ffff0000fdb00000 x23: dfff800000000000 x22: ffff80008f600000 x21: 1ffff00011ec0040 x20: 00000000ffffa83b x19: fffffffffffffcb9 x18: 00000000ffffffff x17: ffff800093376000 x16: ffff80008ae69508 x15: ffff700011ee0158 x14: 1ffff00011ee0158 x13: 0000000000000004 x12: ffffffffffffffff x11: ffff700011ee0158 x10: 0000000000ff0100 x9 : 6059b18eab54ec00 x8 : 6059b18eab54ec00 x7 : 0000000000000001 x6 : 0000000000000001 x5 : ffff8000a2cc7198 x4 : ffff80008f776bc0 x3 : ffff80008054bdfc x2 : 0000000000000000 x1 : 0000000100000000 x0 : 0000000000000000 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) bch2_btree_key_cache_journal_flush+0x17c/0x330 fs/bcachefs/btree_key_cache.c:569 journal_flush_pins+0x6f4/0xc98 fs/bcachefs/journal_reclaim.c:604 __bch2_journal_reclaim+0x82c/0xf5c fs/bcachefs/journal_reclaim.c:732 bch2_journal_reclaim_thread+0x13c/0x480 fs/bcachefs/journal_reclaim.c:774 kthread+0x5fc/0x75c kernel/kthread.c:464 ret_from_fork+0x10/0x20 arch/arm64/kernel/entry.S:844 irq event stamp: 23250 hardirqs last enabled at (23249): [] __up_console_sem kernel/printk/printk.c:344 [inline] hardirqs last enabled at (23249): [] __console_unlock+0x70/0xc4 kernel/printk/printk.c:2885 hardirqs last disabled at (23250): [] el1_brk64+0x1c/0x48 arch/arm64/kernel/entry-common.c:574 softirqs last enabled at (23244): [] softirq_handle_end kernel/softirq.c:425 [inline] softirqs last enabled at (23244): [] handle_softirqs+0xaf8/0xc88 kernel/softirq.c:607 softirqs last disabled at (20741): [] __do_softirq+0x14/0x20 kernel/softirq.c:613 ---[ end trace 0000000000000000 ]---