------------[ cut here ]------------ btree trans held srcu lock (delaying memory reclaim) for 39 seconds WARNING: CPU: 1 PID: 8244 at fs/bcachefs/btree_iter.c:3276 check_srcu_held_too_long fs/bcachefs/btree_iter.c:3274 [inline] WARNING: CPU: 1 PID: 8244 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: 8244 Comm: syz.1.217 Not tainted 6.17.0-rc1-syzkaller-g8f5ae30d69d7 #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 : ffff80009daa6d60 x29: ffff80009daa6e80 x28: ffff700013b54dbc x27: ffff0000ff938000 x26: ffff700013b54dbc x25: ffff0000ff938046 x24: ffff0000f1b00000 x23: dfff800000000000 x22: ffff80008f740000 x21: 1ffff00011ee8040 x20: 00000000ffffa6ff x19: fffffffffffff451 x18: 00000000ffffffff x17: ffff800093507000 x16: ffff80008b007340 x15: 0000000000000001 x14: 1ffff00011f1845b x13: 0000000000000000 x12: 0000000000000000 x11: 0000000000080000 x10: 000000000007ffff x9 : fea4519bb2409e00 x8 : fea4519bb2409e00 x7 : ffff800080563af4 x6 : 0000000000000000 x5 : 0000000000000000 x4 : 0000000000000000 x3 : 0000000000000002 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:3805 path_mount+0x5b4/0xde0 fs/namespace.c:4120 do_mount fs/namespace.c:4133 [inline] __do_sys_mount fs/namespace.c:4344 [inline] __se_sys_mount fs/namespace.c:4321 [inline] __arm64_sys_mount+0x3e8/0x468 fs/namespace.c:4321 __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+0x58/0x180 arch/arm64/kernel/entry-common.c:879 el0t_64_sync_handler+0x84/0x12c arch/arm64/kernel/entry-common.c:898 el0t_64_sync+0x198/0x19c arch/arm64/kernel/entry.S:596 irq event stamp: 55192 hardirqs last enabled at (55191): [] vprintk_store+0x898/0xac8 kernel/printk/printk.c:2356 hardirqs last disabled at (55192): [] el1_brk64+0x1c/0x48 arch/arm64/kernel/entry-common.c:574 softirqs last enabled at (46274): [] softirq_handle_end kernel/softirq.c:425 [inline] softirqs last enabled at (46274): [] handle_softirqs+0xaf8/0xc88 kernel/softirq.c:607 softirqs last disabled at (46253): [] __do_softirq+0x14/0x20 kernel/softirq.c:613 ---[ end trace 0000000000000000 ]--- bcachefs (loop1): marking superblocks