bcachefs (loop0): delete_dead_inodes... done ------------[ cut here ]------------ btree trans held srcu lock (delaying memory reclaim) for 17 seconds WARNING: CPU: 1 PID: 7718 at fs/bcachefs/btree_iter.c:3276 check_srcu_held_too_long fs/bcachefs/btree_iter.c:3274 [inline] WARNING: CPU: 1 PID: 7718 at fs/bcachefs/btree_iter.c:3276 bch2_trans_srcu_unlock+0x438/0x514 fs/bcachefs/btree_iter.c:3290 Modules linked in: CPU: 1 UID: 0 PID: 7718 Comm: syz.0.187 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 : ffff80009bd067c0 x29: ffff80009bd067f0 x28: 1fffe0002ac06008 x27: dfff800000000000 x26: 0000000000000000 x25: ffff000100800000 x24: ffff80008f760000 x23: 1ffff00011eec040 x22: 00000000ffffaf98 x21: fffffffffffffd2b x20: ffff000156030000 x19: ffff000156030046 x18: 1fffe00033797688 x17: ffff0001fea8c8b0 x16: ffff80008b0142f8 x15: 0000000000000001 x14: 1ffff000137a0c68 x13: 0000000000000000 x12: 0000000000000000 x11: 0000000000080000 x10: 000000000007ffff x9 : 22409de4ed69dc00 x8 : 22409de4ed69dc00 x7 : ffff800080563d30 x6 : 0000000000000000 x5 : 0000000000000000 x4 : 0000000000000000 x3 : ffff8000807de9b0 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_btree_write_buffer_flush_locked+0xa60/0x2520 fs/bcachefs/btree_write_buffer.c:372 btree_write_buffer_flush_seq+0x1080/0x11c0 fs/bcachefs/btree_write_buffer.c:572 bch2_btree_write_buffer_journal_flush+0x70/0xc8 fs/bcachefs/btree_write_buffer.c:588 journal_flush_pins+0x6f4/0xc98 fs/bcachefs/journal_reclaim.c:604 journal_flush_pins_or_still_flushing fs/bcachefs/journal_reclaim.c:871 [inline] journal_flush_done+0x100/0x678 fs/bcachefs/journal_reclaim.c:889 bch2_journal_flush_pins+0x19c/0x220 fs/bcachefs/journal_reclaim.c:921 bch2_journal_flush_all_pins fs/bcachefs/journal_reclaim.h:76 [inline] bch2_fs_recovery+0x1d0c/0x2fb4 fs/bcachefs/recovery.c:1036 bch2_fs_start+0x940/0xbec fs/bcachefs/super.c:1213 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+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: 624816 hardirqs last enabled at (624815): [] __exit_to_kernel_mode arch/arm64/kernel/entry-common.c:86 [inline] hardirqs last enabled at (624815): [] exit_to_kernel_mode+0xc0/0xf0 arch/arm64/kernel/entry-common.c:96 hardirqs last disabled at (624816): [] el1_brk64+0x1c/0x48 arch/arm64/kernel/entry-common.c:574 softirqs last enabled at (624814): [] softirq_handle_end kernel/softirq.c:425 [inline] softirqs last enabled at (624814): [] handle_softirqs+0xaf8/0xc88 kernel/softirq.c:607 softirqs last disabled at (615105): [] __do_softirq+0x14/0x20 kernel/softirq.c:613 ---[ end trace 0000000000000000 ]---