------------[ cut here ]------------ btree trans held srcu lock (delaying memory reclaim) for 26 seconds WARNING: CPU: 1 PID: 7876 at fs/bcachefs/btree_iter.c:3232 check_srcu_held_too_long fs/bcachefs/btree_iter.c:3230 [inline] WARNING: CPU: 1 PID: 7876 at fs/bcachefs/btree_iter.c:3232 bch2_trans_srcu_unlock+0x438/0x514 fs/bcachefs/btree_iter.c:3246 Modules linked in: CPU: 1 UID: 0 PID: 7876 Comm: bch-reclaim/loo Not tainted 6.16.0-rc2-syzkaller-g9aa9b43d689e #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:3230 [inline] pc : bch2_trans_srcu_unlock+0x438/0x514 fs/bcachefs/btree_iter.c:3246 lr : check_srcu_held_too_long fs/bcachefs/btree_iter.c:3230 [inline] lr : bch2_trans_srcu_unlock+0x438/0x514 fs/bcachefs/btree_iter.c:3246 sp : ffff80009f337890 x29: ffff80009f3378c0 x28: 1fffe0001fa6f808 x27: dfff800000000000 x26: 0000000000000000 x25: ffff0000ef880000 x24: ffff80008f5b0000 x23: 1ffff00011eb6040 x22: 00000000ffffb968 x21: fffffffffffff989 x20: ffff0000fd37c000 x19: ffff0000fd37c042 x18: 00000000ffffffff x17: ffff800093320000 x16: ffff80008ae33808 x15: ffff700011ed61d4 x14: 1ffff00011ed61d4 x13: 0000000000000004 x12: ffffffffffffffff x11: ffff700011ed61d4 x10: 0000000000ff0100 x9 : c3ae82bf47279c00 x8 : c3ae82bf47279c00 x7 : 0000000000000001 x6 : 0000000000000001 x5 : ffff80009f3371d8 x4 : ffff80008f727060 x3 : ffff80008054c348 x2 : 0000000000000000 x1 : 0000000100000000 x0 : 0000000000000000 Call trace: check_srcu_held_too_long fs/bcachefs/btree_iter.c:3230 [inline] (P) bch2_trans_srcu_unlock+0x438/0x514 fs/bcachefs/btree_iter.c:3246 (P) bch2_trans_begin+0x84c/0xaac fs/bcachefs/btree_iter.c:3322 bch2_btree_key_cache_journal_flush+0x1f8/0x330 fs/bcachefs/btree_key_cache.c:563 journal_flush_pins+0x6f4/0xc98 fs/bcachefs/journal_reclaim.c:598 __bch2_journal_reclaim+0x82c/0xf5c fs/bcachefs/journal_reclaim.c:726 bch2_journal_reclaim_thread+0x13c/0x480 fs/bcachefs/journal_reclaim.c:768 kthread+0x5fc/0x75c kernel/kthread.c:464 ret_from_fork+0x10/0x20 arch/arm64/kernel/entry.S:847 irq event stamp: 46582 hardirqs last enabled at (46581): [] __up_console_sem kernel/printk/printk.c:344 [inline] hardirqs last enabled at (46581): [] __console_unlock+0x70/0xc4 kernel/printk/printk.c:2885 hardirqs last disabled at (46582): [] el1_dbg+0x24/0x80 arch/arm64/kernel/entry-common.c:511 softirqs last enabled at (46576): [] softirq_handle_end kernel/softirq.c:425 [inline] softirqs last enabled at (46576): [] handle_softirqs+0xaf8/0xc88 kernel/softirq.c:607 softirqs last disabled at (41695): [] __do_softirq+0x14/0x20 kernel/softirq.c:613 ---[ end trace 0000000000000000 ]---