------------[ cut here ]------------ btree trans held srcu lock (delaying memory reclaim) for 30 seconds WARNING: fs/bcachefs/btree_iter.c:3276 at check_srcu_held_too_long fs/bcachefs/btree_iter.c:3274 [inline], CPU#0: syz.7.400/8143 WARNING: fs/bcachefs/btree_iter.c:3276 at bch2_trans_srcu_unlock+0x50d/0x620 fs/bcachefs/btree_iter.c:3290, CPU#0: syz.7.400/8143 Modules linked in: CPU: 0 UID: 0 PID: 8143 Comm: syz.7.400 Not tainted syzkaller #0 PREEMPT(full) Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/18/2025 RIP: 0010:check_srcu_held_too_long fs/bcachefs/btree_iter.c:3274 [inline] RIP: 0010:bch2_trans_srcu_unlock+0x50d/0x620 fs/bcachefs/btree_iter.c:3290 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 60 c2 f3 8b 48 89 d6 e8 c4 2b 57 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:ffffc90004dff6f8 EFLAGS: 00010246 RAX: cbc415eea5398300 RBX: 1ffff1100d691809 RCX: 0000000000080000 RDX: ffffc90004e02000 RSI: 000000000006245d RDI: 000000000006245e RBP: 1ffff1100d691811 R08: ffff8880b8624253 R09: 1ffff110170c484a R10: dffffc0000000000 R11: ffffed10170c484b R12: ffff88806b48c046 R13: ffff88806b48c088 R14: 1ffff1100d691808 R15: 0000000000000306 FS: 00007f444cee56c0(0000) GS:ffff8881259e8000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fa71517c000 CR3: 000000007c01e000 CR4: 00000000003526f0 Call Trace: bch2_trans_begin+0x1b46/0x2320 fs/bcachefs/btree_iter.c:3387 __bch2_create+0x3cc/0xb90 fs/bcachefs/fs.c:571 bch2_mknod fs/bcachefs/fs.c:748 [inline] bch2_mkdir+0x62/0xd0 fs/bcachefs/fs.c:906 vfs_mkdir+0x306/0x510 fs/namei.c:4374 do_mkdirat+0x247/0x590 fs/namei.c:4407 __do_sys_mkdirat fs/namei.c:4424 [inline] __se_sys_mkdirat fs/namei.c:4422 [inline] __x64_sys_mkdirat+0x87/0xa0 fs/namei.c:4422 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xfa/0xfa0 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f444bf8d417 Code: 73 01 c3 48 c7 c1 a8 ff ff ff f7 d8 64 89 01 48 83 c8 ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 00 b8 02 01 00 00 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:00007f444cee4e68 EFLAGS: 00000246 ORIG_RAX: 0000000000000102 RAX: ffffffffffffffda RBX: 00007f444cee4ef0 RCX: 00007f444bf8d417 RDX: 00000000000001ff RSI: 0000200000000580 RDI: 00000000ffffff9c RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000200000000580 R13: 00007f444cee4eb0 R14: 0000000000000000 R15: 0000000000000000