------------[ cut here ]------------ btree trans held srcu lock (delaying memory reclaim) for 82 seconds WARNING: CPU: 0 PID: 8507 at fs/bcachefs/btree_iter.c:3179 check_srcu_held_too_long fs/bcachefs/btree_iter.c:3177 [inline] WARNING: CPU: 0 PID: 8507 at fs/bcachefs/btree_iter.c:3179 bch2_trans_srcu_unlock+0x438/0x514 fs/bcachefs/btree_iter.c:3193 Modules linked in: CPU: 0 UID: 0 PID: 8507 Comm: bch-reclaim/loo Not tainted 6.15.0-rc6-syzkaller-ga82e92598ab1 #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_srcu_unlock+0x438/0x514 fs/bcachefs/btree_iter.c:3193 lr : check_srcu_held_too_long fs/bcachefs/btree_iter.c:3177 [inline] lr : bch2_trans_srcu_unlock+0x438/0x514 fs/bcachefs/btree_iter.c:3193 sp : ffff80009bcc7420 x29: ffff80009bcc7450 x28: 1fffe0001fd4d008 x27: dfff800000000000 x26: 0000000000000000 x25: ffff000108600000 x24: ffff80008f2a0000 x23: 1ffff00011e54040 x22: 00000000ffffd672 x21: ffffffffffffe37f x20: ffff0000fea68000 x19: ffff0000fea68042 x18: 1fffe0003386aa76 x17: ffff80008f31e000 x16: ffff80008adb97d4 x15: 0000000000000001 x14: 1fffe0003386d4e8 x13: 0000000000000000 x12: 0000000000000000 x11: ffff800092d35c40 x10: 0000000000000003 x9 : e4bcfa3eecab5900 x8 : e4bcfa3eecab5900 x7 : ffff800080485078 x6 : 0000000000000000 x5 : 0000000000000001 x4 : 0000000000000001 x3 : 0000000000000010 x2 : 0000000000000007 x1 : ffff80008b3e9ec0 x0 : 0000000000000001 Call trace: check_srcu_held_too_long fs/bcachefs/btree_iter.c:3177 [inline] (P) bch2_trans_srcu_unlock+0x438/0x514 fs/bcachefs/btree_iter.c:3193 (P) bch2_trans_begin+0x828/0xa40 fs/bcachefs/btree_iter.c:3270 bch2_btree_write_buffer_flush_locked+0x10b0/0x2548 fs/bcachefs/btree_write_buffer.c:401 btree_write_buffer_flush_seq+0x1010/0x1144 fs/bcachefs/btree_write_buffer.c:570 bch2_btree_write_buffer_journal_flush+0x70/0xc8 fs/bcachefs/btree_write_buffer.c:586 journal_flush_pins+0x6f4/0xcc0 fs/bcachefs/journal_reclaim.c:593 __bch2_journal_reclaim+0x704/0xe30 fs/bcachefs/journal_reclaim.c:724 bch2_journal_reclaim_thread+0x13c/0x480 fs/bcachefs/journal_reclaim.c:766 kthread+0x5fc/0x75c kernel/kthread.c:464 ret_from_fork+0x10/0x20 arch/arm64/kernel/entry.S:847 irq event stamp: 141024 hardirqs last enabled at (141023): [] raw_spin_rq_unlock_irq kernel/sched/sched.h:1525 [inline] hardirqs last enabled at (141023): [] finish_lock_switch+0xb0/0x1c0 kernel/sched/core.c:5130 hardirqs last disabled at (141024): [] el1_dbg+0x24/0x80 arch/arm64/kernel/entry-common.c:511 softirqs last enabled at (141016): [] softirq_handle_end kernel/softirq.c:425 [inline] softirqs last enabled at (141016): [] handle_softirqs+0xaf8/0xc88 kernel/softirq.c:607 softirqs last disabled at (138439): [] __do_softirq+0x14/0x20 kernel/softirq.c:613 ---[ end trace 0000000000000000 ]---