------------[ cut here ]------------ btree trans held srcu lock (delaying memory reclaim) for 16 seconds WARNING: CPU: 1 PID: 9993 at fs/bcachefs/btree_iter.c:3276 check_srcu_held_too_long fs/bcachefs/btree_iter.c:3274 [inline] WARNING: CPU: 1 PID: 9993 at fs/bcachefs/btree_iter.c:3276 bch2_trans_put+0xcd4/0xed8 fs/bcachefs/btree_iter.c:3570 Modules linked in: CPU: 1 UID: 0 PID: 9993 Comm: syz.2.1145 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_put+0xcd4/0xed8 fs/bcachefs/btree_iter.c:3570 lr : check_srcu_held_too_long fs/bcachefs/btree_iter.c:3274 [inline] lr : bch2_trans_put+0xcd4/0xed8 fs/bcachefs/btree_iter.c:3570 sp : ffff800099fd6d60 x29: ffff800099fd6e80 x28: ffff7000133fadbc x27: ffff0000de7f8000 x26: ffff7000133fadbc x25: ffff0000de7f8046 x24: ffff0000d8300000 x23: dfff800000000000 x22: ffff80008f760000 x21: 1ffff00011eec040 x20: 00000000ffffaafe x19: fffffffffffffd89 x18: 00000000ffffffff x17: ffff800093529000 x16: ffff80008b01d7f0 x15: 0000000000000001 x14: 1ffff000133fad1c x13: 0000000000000000 x12: 0000000000000000 x11: 0000000000080000 x10: 000000000007ffff x9 : 4c206bb61b27bf00 x8 : 4c206bb61b27bf00 x7 : ffff80008056556c x6 : 0000000000000000 x5 : 0000000000000000 x4 : 0000000000000000 x3 : ffff8000807e0290 x2 : 0000000000000002 x1 : 0000000100000000 x0 : 0000000000000000 Call trace: check_srcu_held_too_long fs/bcachefs/btree_iter.c:3274 [inline] (P) bch2_trans_put+0xcd4/0xed8 fs/bcachefs/btree_iter.c:3570 (P) class_btree_trans_destructor fs/bcachefs/btree_iter.h:991 [inline] bch2_dev_usage_init+0x2e8/0x354 fs/bcachefs/disk_accounting.c:951 bch2_fs_initialize+0x8e0/0x113c fs/bcachefs/recovery.c:1223 bch2_fs_start+0x930/0xbec fs/bcachefs/super.c:1214 bch2_fs_get_tree+0x880/0x107c fs/bcachefs/fs.c:2488 vfs_get_tree+0x90/0x28c fs/super.c:1815 do_new_mount+0x278/0x7f4 fs/namespace.c:3808 path_mount+0x5b4/0xde0 fs/namespace.c:4123 do_mount fs/namespace.c:4136 [inline] __do_sys_mount fs/namespace.c:4347 [inline] __se_sys_mount fs/namespace.c:4324 [inline] __arm64_sys_mount+0x3e8/0x468 fs/namespace.c:4324 __invoke_syscall arch/arm64/kernel/syscall.c:35 [inline] invoke_syscall+0x98/0x2b8 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: 99336 hardirqs last enabled at (99335): [] irqentry_exit+0xd8/0x108 kernel/entry/common.c:214 hardirqs last disabled at (99336): [] el1_brk64+0x20/0x54 arch/arm64/kernel/entry-common.c:434 softirqs last enabled at (99334): [] softirq_handle_end kernel/softirq.c:425 [inline] softirqs last enabled at (99334): [] handle_softirqs+0xaf8/0xc88 kernel/softirq.c:607 softirqs last disabled at (83971): [] __do_softirq+0x14/0x20 kernel/softirq.c:613 ---[ end trace 0000000000000000 ]--- bcachefs (loop2): marking superblocks