------------[ cut here ]------------ btree trans held srcu lock (delaying memory reclaim) for 12 seconds WARNING: CPU: 1 PID: 12015 at fs/bcachefs/btree_iter.c:2998 check_srcu_held_too_long fs/bcachefs/btree_iter.c:2996 [inline] WARNING: CPU: 1 PID: 12015 at fs/bcachefs/btree_iter.c:2998 bch2_trans_put+0xde5/0x1040 fs/bcachefs/btree_iter.c:3243 Modules linked in: CPU: 1 PID: 12015 Comm: syz-executor.0 Not tainted 6.10.0-rc4-syzkaller-00330-g7c16f0a4ed1c #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+0xde5/0x1040 fs/bcachefs/btree_iter.c:3243 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 81 11 8c 48 89 d6 e8 bc a8 44 fd 90 <0f> 0b 90 90 e9 a1 f7 ff ff e8 ad 78 82 fd 90 0f 0b 90 e9 e4 f7 ff RSP: 0018:ffffc90009cd73a8 EFLAGS: 00010246 RAX: b8cc7484f2b18500 RBX: 0000000000000136 RCX: 0000000000040000 RDX: ffffc9000b2e1000 RSI: 0000000000019b6d RDI: 0000000000019b6e RBP: dffffc0000000000 R08: ffffffff81585822 R09: fffffbfff1c39994 R10: dffffc0000000000 R11: fffffbfff1c39994 R12: 1ffff1100d568808 R13: 1ffff1100d56880e R14: ffff88806ab44070 R15: ffff88806ab44041 FS: 00007f664121e6c0(0000) GS:ffff8880b9500000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f664121ed58 CR3: 000000007d4c8000 CR4: 0000000000350ef0 Call Trace: __bch2_create+0xd08/0xe90 fs/bcachefs/fs.c:387 bch2_mknod fs/bcachefs/fs.c:492 [inline] bch2_create+0xe2/0x190 fs/bcachefs/fs.c:506 lookup_open fs/namei.c:3505 [inline] open_last_lookups fs/namei.c:3574 [inline] path_openat+0x1427/0x3280 fs/namei.c:3804 do_filp_open+0x235/0x490 fs/namei.c:3834 do_sys_openat2+0x13e/0x1d0 fs/open.c:1405 do_sys_open fs/open.c:1420 [inline] __do_sys_openat fs/open.c:1436 [inline] __se_sys_openat fs/open.c:1431 [inline] __x64_sys_openat+0x247/0x2a0 fs/open.c:1431 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:0x7f664047d0a9 Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 e1 20 00 00 90 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 b0 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f664121e0c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000101 RAX: ffffffffffffffda RBX: 00007f66405b4050 RCX: 00007f664047d0a9 RDX: 000000000000275a RSI: 0000000020000080 RDI: ffffffffffffff9c RBP: 00007f66404ec074 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000006e R14: 00007f66405b4050 R15: 00007ffc01996038