------------[ cut here ]------------ btree trans held srcu lock (delaying memory reclaim) for 10 seconds WARNING: CPU: 1 PID: 8106 at fs/bcachefs/btree_iter.c:3179 check_srcu_held_too_long fs/bcachefs/btree_iter.c:3177 [inline] WARNING: CPU: 1 PID: 8106 at fs/bcachefs/btree_iter.c:3179 bch2_trans_put+0xbf0/0xdf8 fs/bcachefs/btree_iter.c:3434 Modules linked in: CPU: 1 UID: 0 PID: 8106 Comm: bch-reclaim/loo Not tainted 6.15.0-rc4-syzkaller-ge0f4c8dd9d2d #0 PREEMPT Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/12/2025 pstate: 60400005 (nZCv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--) pc : check_srcu_held_too_long fs/bcachefs/btree_iter.c:3177 [inline] pc : bch2_trans_put+0xbf0/0xdf8 fs/bcachefs/btree_iter.c:3434 lr : check_srcu_held_too_long fs/bcachefs/btree_iter.c:3177 [inline] lr : bch2_trans_put+0xbf0/0xdf8 fs/bcachefs/btree_iter.c:3434 sp : ffff8000a2db7900 x29: ffff8000a2db7970 x28: 1fffe0001aa93807 x27: ffff0000f6d80000 x26: 0000000000000040 x25: 1fffe0001aa93808 x24: ffff0000d549c042 x23: dfff800000000000 x22: ffff80008f280000 x21: 1ffff00011e50040 x20: 00000000ffffb88a x19: ffffffffffffffcc x18: 00000000ffffffff x17: ffff800092f13000 x16: ffff80008ad0f308 x15: ffff700011e6ff40 x14: 1ffff00011e6ff40 x13: 0000000000000004 x12: ffffffffffffffff x11: ffff700011e6ff40 x10: 0000000000ff0100 x9 : d6f64b2a09927100 x8 : d6f64b2a09927100 x7 : 0000000000000001 x6 : 0000000000000001 x5 : ffff8000a2db7258 x4 : ffff80008f3f4fa0 x3 : ffff80008053fd64 x2 : 0000000000000000 x1 : 0000000100000000 x0 : 0000000000000000 Call trace: check_srcu_held_too_long fs/bcachefs/btree_iter.c:3177 [inline] (P) bch2_trans_put+0xbf0/0xdf8 fs/bcachefs/btree_iter.c:3434 (P) bch2_btree_key_cache_journal_flush+0x17c/0x330 fs/bcachefs/btree_key_cache.c:551 journal_flush_pins+0x6f4/0xcc0 fs/bcachefs/journal_reclaim.c:592 __bch2_journal_reclaim+0x704/0xe30 fs/bcachefs/journal_reclaim.c:723 bch2_journal_reclaim_thread+0x13c/0x480 fs/bcachefs/journal_reclaim.c:765 kthread+0x5fc/0x75c kernel/kthread.c:464 ret_from_fork+0x10/0x20 arch/arm64/kernel/entry.S:862 irq event stamp: 26568 hardirqs last enabled at (26567): [] __up_console_sem kernel/printk/printk.c:344 [inline] hardirqs last enabled at (26567): [] __console_unlock+0x70/0xc4 kernel/printk/printk.c:2885 hardirqs last disabled at (26568): [] el1_dbg+0x24/0x80 arch/arm64/kernel/entry-common.c:488 softirqs last enabled at (26562): [] softirq_handle_end kernel/softirq.c:425 [inline] softirqs last enabled at (26562): [] handle_softirqs+0xaf8/0xc88 kernel/softirq.c:607 softirqs last disabled at (21671): [] __do_softirq+0x14/0x20 kernel/softirq.c:613 ---[ end trace 0000000000000000 ]---