------------[ cut here ]------------ btree trans held srcu lock (delaying memory reclaim) for 16 seconds WARNING: CPU: 0 PID: 7062 at fs/bcachefs/btree_iter.c:3002 check_srcu_held_too_long fs/bcachefs/btree_iter.c:3000 [inline] WARNING: CPU: 0 PID: 7062 at fs/bcachefs/btree_iter.c:3002 bch2_trans_put+0xb08/0xc8c fs/bcachefs/btree_iter.c:3246 Modules linked in: CPU: 0 UID: 0 PID: 7062 Comm: syz.2.115 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 : ffff8000a1737040 x29: ffff8000a1737080 x28: 0000000000000040 x27: dfff800000000000 x26: ffff0000f98081b8 x25: 0000000000000040 x24: 1fffe0001f301008 x23: ffff80008f4ef000 x22: fffffffffffffd95 x21: ffff0000f9808042 x20: 1ffff00011e9de40 x19: 00000000ffffa0b5 x18: 0000000000000008 x17: 0000000000000000 x16: ffff800083032784 x15: 0000000000000001 x14: 1fffe000366d325a x13: 0000000000000000 x12: 0000000000000000 x11: 0000000000040000 x10: 000000000003ffff x9 : 774bca0c6cd6d500 x8 : 774bca0c6cd6d500 x7 : 0000000000000001 x6 : 0000000000000001 x5 : ffff8000a1736798 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_lookup+0xbe8/0xd6c fs/bcachefs/fs.c:483 lookup_open fs/namei.c:3556 [inline] open_last_lookups fs/namei.c:3647 [inline] path_openat+0xc94/0x29f8 fs/namei.c:3883 do_filp_open+0x1bc/0x3cc fs/namei.c:3913 do_sys_openat2+0x124/0x1b8 fs/open.c:1416 do_sys_open fs/open.c:1431 [inline] __do_sys_openat fs/open.c:1447 [inline] __se_sys_openat fs/open.c:1442 [inline] __arm64_sys_openat+0x1f0/0x240 fs/open.c:1442 __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: 140736 hardirqs last enabled at (140735): [] __up_console_sem kernel/printk/printk.c:341 [inline] hardirqs last enabled at (140735): [] __console_unlock kernel/printk/printk.c:2801 [inline] hardirqs last enabled at (140735): [] console_unlock+0x18c/0x3d4 kernel/printk/printk.c:3120 hardirqs last disabled at (140736): [] el1_dbg+0x24/0x80 arch/arm64/kernel/entry-common.c:470 softirqs last enabled at (137600): [] softirq_handle_end kernel/softirq.c:400 [inline] softirqs last enabled at (137600): [] handle_softirqs+0xa3c/0xbfc kernel/softirq.c:582 softirqs last disabled at (127841): [] __do_softirq+0x14/0x20 kernel/softirq.c:588 ---[ end trace 0000000000000000 ]---