------------[ cut here ]------------ btree trans held srcu lock (delaying memory reclaim) for 12 seconds WARNING: CPU: 0 PID: 6761 at fs/bcachefs/btree_iter.c:3179 check_srcu_held_too_long fs/bcachefs/btree_iter.c:3177 [inline] WARNING: CPU: 0 PID: 6761 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: 6761 Comm: bch-copygc/loop Not tainted 6.15.0-rc5-syzkaller-gc32f8dc5aaf9 #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 : ffff8000a22973c0 x29: ffff8000a22973f0 x28: 1fffe0001f776008 x27: dfff800000000000 x26: 0000000000000000 x25: ffff0000fa080000 x24: ffff80008f290000 x23: 1ffff00011e52040 x22: 00000000ffffd4fb x21: ffffffffffffff2f x20: ffff0000fbbb0000 x19: ffff0000fbbb0042 x18: 00000000ffffffff x17: ffff800092f27000 x16: ffff80008ad1d588 x15: ffff700011e720b4 x14: 1ffff00011e720b4 x13: 0000000000000004 x12: ffffffffffffffff x11: ffff700011e720b4 x10: 0000000000ff0100 x9 : 6133e0f115cfd800 x8 : 6133e0f115cfd800 x7 : 0000000000000001 x6 : 0000000000000001 x5 : ffff8000a2296d18 x4 : ffff80008f405b40 x3 : ffff8000805456dc x2 : 0000000000000000 x1 : 0000000100000000 x0 : 0000000000000000 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_copygc_get_buckets fs/bcachefs/movinggc.c:169 [inline] bch2_copygc+0x30c/0x306c fs/bcachefs/movinggc.c:221 bch2_copygc_thread+0x84c/0xd70 fs/bcachefs/movinggc.c:405 kthread+0x5fc/0x75c kernel/kthread.c:464 ret_from_fork+0x10/0x20 arch/arm64/kernel/entry.S:847 irq event stamp: 9071508 hardirqs last enabled at (9071507): [] __up_console_sem kernel/printk/printk.c:344 [inline] hardirqs last enabled at (9071507): [] __console_unlock+0x70/0xc4 kernel/printk/printk.c:2885 hardirqs last disabled at (9071508): [] el1_dbg+0x24/0x80 arch/arm64/kernel/entry-common.c:511 softirqs last enabled at (9071502): [] softirq_handle_end kernel/softirq.c:425 [inline] softirqs last enabled at (9071502): [] handle_softirqs+0xaf8/0xc88 kernel/softirq.c:607 softirqs last disabled at (9065607): [] __do_softirq+0x14/0x20 kernel/softirq.c:613 ---[ end trace 0000000000000000 ]---