------------[ cut here ]------------ btree trans held srcu lock (delaying memory reclaim) for 32 seconds WARNING: CPU: 1 PID: 6582 at fs/bcachefs/btree_iter.c:3002 check_srcu_held_too_long fs/bcachefs/btree_iter.c:3000 [inline] WARNING: CPU: 1 PID: 6582 at fs/bcachefs/btree_iter.c:3002 bch2_trans_put+0xb08/0xc8c fs/bcachefs/btree_iter.c:3246 Modules linked in: CPU: 1 UID: 0 PID: 6582 Comm: syz.1.15 Not tainted 6.11.0-rc7-syzkaller-g5f5673607153 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/06/2024 pstate: 60400005 (nZCv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--) pc : check_srcu_held_too_long fs/bcachefs/btree_iter.c:3000 [inline] pc : bch2_trans_put+0xb08/0xc8c fs/bcachefs/btree_iter.c:3246 lr : check_srcu_held_too_long fs/bcachefs/btree_iter.c:3000 [inline] lr : bch2_trans_put+0xb08/0xc8c fs/bcachefs/btree_iter.c:3246 sp : ffff80009d316f40 x29: ffff80009d316f80 x28: 0000000000000040 x27: dfff800000000000 x26: ffff0000c58541b8 x25: 0000000000000040 x24: 1fffe00018b0a808 x23: ffff80008f4ef000 x22: fffffffffffff766 x21: ffff0000c5854042 x20: 1ffff00011e9de40 x19: 00000000ffff9c69 x18: 0000000000000008 x17: 0000000000000000 x16: ffff800083032784 x15: 0000000000000001 x14: 1fffe000366d7a5a x13: 0000000000000000 x12: 0000000000000000 x11: 0000000000040000 x10: 000000000003ffff x9 : c61d38e002380d00 x8 : c61d38e002380d00 x7 : 0000000000000001 x6 : 0000000000000001 x5 : ffff80009d316698 x4 : ffff80008f65b620 x3 : ffff8000806051a0 x2 : 0000000000000001 x1 : 0000000100000000 x0 : 0000000000000000 Call trace: check_srcu_held_too_long fs/bcachefs/btree_iter.c:3000 [inline] bch2_trans_put+0xb08/0xc8c fs/bcachefs/btree_iter.c:3246 bch2_btree_root_read+0x468/0x53c fs/bcachefs/btree_io.c:1773 read_btree_roots+0x250/0x798 fs/bcachefs/recovery.c:523 bch2_fs_recovery+0x3278/0x5514 fs/bcachefs/recovery.c:851 bch2_fs_start+0x30c/0x53c fs/bcachefs/super.c:1036 bch2_fs_get_tree+0x938/0x1030 fs/bcachefs/fs.c:1946 vfs_get_tree+0x90/0x28c fs/super.c:1800 do_new_mount+0x278/0x900 fs/namespace.c:3472 path_mount+0x590/0xe04 fs/namespace.c:3799 do_mount fs/namespace.c:3812 [inline] __do_sys_mount fs/namespace.c:4020 [inline] __se_sys_mount fs/namespace.c:3997 [inline] __arm64_sys_mount+0x45c/0x5a8 fs/namespace.c:3997 __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+0x54/0x168 arch/arm64/kernel/entry-common.c:712 el0t_64_sync_handler+0x84/0xfc arch/arm64/kernel/entry-common.c:730 el0t_64_sync+0x190/0x194 arch/arm64/kernel/entry.S:598 irq event stamp: 124468 hardirqs last enabled at (124467): [] __up_console_sem kernel/printk/printk.c:341 [inline] hardirqs last enabled at (124467): [] __console_unlock kernel/printk/printk.c:2801 [inline] hardirqs last enabled at (124467): [] console_unlock+0x18c/0x3d4 kernel/printk/printk.c:3120 hardirqs last disabled at (124468): [] el1_dbg+0x24/0x80 arch/arm64/kernel/entry-common.c:470 softirqs last enabled at (121778): [] softirq_handle_end kernel/softirq.c:400 [inline] softirqs last enabled at (121778): [] handle_softirqs+0xa3c/0xbfc kernel/softirq.c:582 softirqs last disabled at (111947): [] __do_softirq+0x14/0x20 kernel/softirq.c:588 ---[ end trace 0000000000000000 ]---