------------[ cut here ]------------ btree trans held srcu lock (delaying memory reclaim) for 10 seconds WARNING: CPU: 0 PID: 7225 at fs/bcachefs/btree_iter.c:2998 check_srcu_held_too_long fs/bcachefs/btree_iter.c:2996 [inline] WARNING: CPU: 0 PID: 7225 at fs/bcachefs/btree_iter.c:2998 bch2_trans_put+0xd7a/0xfb0 fs/bcachefs/btree_iter.c:3239 Modules linked in: CPU: 0 PID: 7225 Comm: syz.5.477 Not tainted 6.10.0-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/07/2024 RIP: 0010:check_srcu_held_too_long fs/bcachefs/btree_iter.c:2996 [inline] RIP: 0010:bch2_trans_put+0xd7a/0xfb0 fs/bcachefs/btree_iter.c:3239 Code: 2b 1e 48 c1 eb 02 48 b9 c3 f5 28 5c 8f c2 f5 28 48 89 d8 48 f7 e1 48 c1 ea 02 48 c7 c7 e0 bc 11 8c 48 89 d6 e8 f7 6d 44 fd 90 <0f> 0b 90 90 e9 14 f8 ff ff e8 98 41 82 fd 90 0f 0b 90 e9 57 f8 ff RSP: 0018:ffffc90009aaf5e8 EFLAGS: 00010246 RAX: a2c26b28cdfa2900 RBX: 0000000000000108 RCX: 0000000000040000 RDX: ffffc9001695e000 RSI: 000000000003ffff RDI: 0000000000040000 RBP: dffffc0000000000 R08: ffffffff81585882 R09: fffffbfff1c39994 R10: dffffc0000000000 R11: fffffbfff1c39994 R12: 1ffff1100fc3b008 R13: 1ffff1100fc3b00e R14: ffff88807e1d8070 R15: ffff88807e1d8041 FS: 00007feb485726c0(0000) GS:ffff8880b9400000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f2768500060 CR3: 000000002cd06000 CR4: 0000000000350ef0 Call Trace: bch2_lookup+0x14bc/0x16c0 fs/bcachefs/fs.c:484 lookup_one_qstr_excl+0x121/0x260 fs/namei.c:1607 filename_create+0x297/0x540 fs/namei.c:3907 do_mkdirat+0xbd/0x3a0 fs/namei.c:4152 __do_sys_mkdirat fs/namei.c:4175 [inline] __se_sys_mkdirat fs/namei.c:4173 [inline] __x64_sys_mkdirat+0x89/0xa0 fs/namei.c:4173 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xf3/0x230 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7feb47775bd9 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:00007feb48572048 EFLAGS: 00000246 ORIG_RAX: 0000000000000102 RAX: ffffffffffffffda RBX: 00007feb47903f60 RCX: 00007feb47775bd9 RDX: 0000000002000000 RSI: 0000000020000100 RDI: ffffffffffffff9c RBP: 00007feb477e4e60 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007feb47903f60 R15: 00007ffe80e0ef58