------------[ cut here ]------------ btree trans held srcu lock (delaying memory reclaim) for 30 seconds WARNING: CPU: 1 PID: 7116 at fs/bcachefs/btree_iter.c:3179 check_srcu_held_too_long fs/bcachefs/btree_iter.c:3177 [inline] WARNING: CPU: 1 PID: 7116 at fs/bcachefs/btree_iter.c:3179 bch2_trans_srcu_unlock+0x50d/0x620 fs/bcachefs/btree_iter.c:3193 Modules linked in: CPU: 1 UID: 0 PID: 7116 Comm: syz.2.151 Not tainted 6.15.0-rc5-syzkaller-00038-g707df3375124 #0 PREEMPT(full) Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/29/2025 RIP: 0010:check_srcu_held_too_long fs/bcachefs/btree_iter.c:3177 [inline] RIP: 0010:bch2_trans_srcu_unlock+0x50d/0x620 fs/bcachefs/btree_iter.c:3193 Code: 7d 00 49 c1 ef 02 48 b9 c3 f5 28 5c 8f c2 f5 28 4c 89 f8 48 f7 e1 48 c1 ea 02 48 c7 c7 e0 c9 b2 8b 48 89 d6 e8 14 90 68 fd 90 <0f> 0b 90 90 e9 a6 fe ff ff 44 89 e1 80 e1 07 38 c1 0f 8c 1c fb ff RSP: 0018:ffffc9000b1872f8 EFLAGS: 00010246 RAX: 51c85ef9f0bd1100 RBX: 1ffff11002213008 RCX: ffff88802cff1e00 RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000002 RBP: 1ffff11002213011 R08: 0000000000000003 R09: 0000000000000004 R10: dffffc0000000000 R11: fffffbfff1bba4b4 R12: ffff888011098042 R13: ffff888011098088 R14: 1ffff11002213008 R15: 00000000000002f3 FS: 00007fb13a8776c0(0000) GS:ffff8881261fd000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000056426a8c0be0 CR3: 0000000026ee6000 CR4: 00000000003526f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: bch2_trans_begin+0x19b0/0x1f10 fs/bcachefs/btree_iter.c:3270 __bch2_create+0x3cc/0xb90 fs/bcachefs/fs.c:573 bch2_mknod fs/bcachefs/fs.c:752 [inline] bch2_create+0x66/0xd0 fs/bcachefs/fs.c:766 lookup_open fs/namei.c:3701 [inline] open_last_lookups fs/namei.c:3800 [inline] path_openat+0x14f1/0x3830 fs/namei.c:4036 do_filp_open+0x1fa/0x410 fs/namei.c:4066 do_sys_openat2+0x121/0x1c0 fs/open.c:1429 do_sys_open fs/open.c:1444 [inline] __do_sys_open fs/open.c:1452 [inline] __se_sys_open fs/open.c:1448 [inline] __x64_sys_open+0x11e/0x150 fs/open.c:1448 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xf6/0x210 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7fb13998e969 Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 a8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007fb13a877038 EFLAGS: 00000246 ORIG_RAX: 0000000000000002 RAX: ffffffffffffffda RBX: 00007fb139bb6080 RCX: 00007fb13998e969 RDX: 0000000000000000 RSI: 0000000000064842 RDI: 00002000000005c0 RBP: 00007fb139a10ab1 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007fb139bb6080 R15: 00007ffd0e180378