------------[ cut here ]------------ btree trans held srcu lock (delaying memory reclaim) for 30 seconds WARNING: CPU: 0 PID: 7187 at fs/bcachefs/btree_iter.c:3276 check_srcu_held_too_long fs/bcachefs/btree_iter.c:3274 [inline] WARNING: CPU: 0 PID: 7187 at fs/bcachefs/btree_iter.c:3276 bch2_trans_srcu_unlock+0x438/0x514 fs/bcachefs/btree_iter.c:3290 Modules linked in: CPU: 0 UID: 0 PID: 7187 Comm: syz.3.90 Not tainted syzkaller #0 PREEMPT Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/30/2025 pstate: 63400005 (nZCv daif +PAN -UAO +TCO +DIT -SSBS BTYPE=--) pc : check_srcu_held_too_long fs/bcachefs/btree_iter.c:3274 [inline] pc : bch2_trans_srcu_unlock+0x438/0x514 fs/bcachefs/btree_iter.c:3290 lr : check_srcu_held_too_long fs/bcachefs/btree_iter.c:3274 [inline] lr : bch2_trans_srcu_unlock+0x438/0x514 fs/bcachefs/btree_iter.c:3290 sp : ffff80009c5376e0 x29: ffff80009c537710 x28: 1fffe0001bfbd008 x27: dfff800000000000 x26: 0000000000000000 x25: ffff0000fbc80000 x24: ffff80008f7e0000 x23: 1ffff00011efc040 x22: 00000000ffff9b51 x21: fffffffffffff811 x20: ffff0000dfde8000 x19: ffff0000dfde8046 x18: 1fffe00033771c88 x17: ffff80008f85e000 x16: ffff80008b065ce0 x15: 0000000000000001 x14: 1ffff000138a6e4c x13: 0000000000000000 x12: 0000000000000000 x11: 0000000000000000 x10: 0000000000ff0100 x9 : c4349881fc3db500 x8 : c4349881fc3db500 x7 : ffff80008056636c x6 : 0000000000000000 x5 : 0000000000000000 x4 : 0000000000000000 x3 : ffff8000807d446c x2 : 0000000000000002 x1 : 0000000100000000 x0 : 0000000000000000 Call trace: check_srcu_held_too_long fs/bcachefs/btree_iter.c:3274 [inline] (P) bch2_trans_srcu_unlock+0x438/0x514 fs/bcachefs/btree_iter.c:3290 (P) bch2_trans_begin+0x930/0xd30 fs/bcachefs/btree_iter.c:3387 bch2_logged_op_start+0x9c/0x254 fs/bcachefs/logged_ops.c:93 bch2_fcollapse_finsert+0x13c/0x214 fs/bcachefs/io_misc.c:560 bchfs_fcollapse_finsert+0x2cc/0x390 fs/bcachefs/fs-io.c:621 bch2_fallocate_dispatch+0x2bc/0x434 fs/bcachefs/fs-io.c:-1 vfs_fallocate+0x52c/0x668 fs/open.c:342 ksys_fallocate fs/open.c:366 [inline] __do_sys_fallocate fs/open.c:371 [inline] __se_sys_fallocate fs/open.c:369 [inline] __arm64_sys_fallocate+0xbc/0x10c fs/open.c:369 __invoke_syscall arch/arm64/kernel/syscall.c:35 [inline] invoke_syscall+0x98/0x254 arch/arm64/kernel/syscall.c:49 el0_svc_common+0x130/0x23c arch/arm64/kernel/syscall.c:132 do_el0_svc+0x48/0x58 arch/arm64/kernel/syscall.c:151 el0_svc+0x5c/0x254 arch/arm64/kernel/entry-common.c:744 el0t_64_sync_handler+0x84/0x12c arch/arm64/kernel/entry-common.c:763 el0t_64_sync+0x198/0x19c arch/arm64/kernel/entry.S:596 irq event stamp: 68384 hardirqs last enabled at (68383): [] irqentry_exit+0xd8/0x108 kernel/entry/common.c:214 hardirqs last disabled at (68384): [] el1_brk64+0x20/0x54 arch/arm64/kernel/entry-common.c:434 softirqs last enabled at (68146): [] local_bh_enable+0x10/0x34 include/linux/bottom_half.h:32 softirqs last disabled at (68144): [] local_bh_disable+0x10/0x34 include/linux/bottom_half.h:19 ---[ end trace 0000000000000000 ]---