------------[ cut here ]------------ btree trans held srcu lock (delaying memory reclaim) for 10 seconds WARNING: CPU: 0 PID: 5720 at fs/bcachefs/btree_iter.c:2996 check_srcu_held_too_long fs/bcachefs/btree_iter.c:2996 [inline] WARNING: CPU: 0 PID: 5720 at fs/bcachefs/btree_iter.c:2996 check_srcu_held_too_long fs/bcachefs/btree_iter.c:2994 [inline] WARNING: CPU: 0 PID: 5720 at fs/bcachefs/btree_iter.c:2996 bch2_trans_put+0xcc2/0xf40 fs/bcachefs/btree_iter.c:3243 Modules linked in: CPU: 0 PID: 5720 Comm: syz-executor.2 Not tainted 6.10.0-rc3-syzkaller-00044-g2ccbdf43d5e7 #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:check_srcu_held_too_long fs/bcachefs/btree_iter.c:2994 [inline] RIP: 0010:bch2_trans_put+0xcc2/0xf40 fs/bcachefs/btree_iter.c:3243 Code: 91 09 48 c7 c7 e0 46 7e 8b 48 b8 c3 f5 28 5c 8f c2 f5 28 48 29 ea 48 c1 ea 02 48 f7 e2 48 c1 ea 02 48 89 d6 e8 af 36 60 fd 90 <0f> 0b 90 90 e9 a2 fe ff ff e8 20 1d 9e fd 90 0f 0b e8 18 1d 9e fd RSP: 0018:ffffc9000348f450 EFLAGS: 00010286 RAX: 0000000000000000 RBX: ffff88805dcec041 RCX: ffffc9000b1dd000 RDX: 0000000000040000 RSI: ffffffff81500076 RDI: 0000000000000001 RBP: 00000000ffffcd5a R08: 0000000000000001 R09: 0000000000000000 R10: 0000000000000001 R11: 0000000000000001 R12: 1ffffffff1b01e40 R13: ffff88805dcec000 R14: ffffffffffffffd4 R15: 0000000000000000 FS: 00007fce1129e6c0(0000) GS:ffff8880b9200000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f93dff03618 CR3: 000000004c8b4000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: __bch2_create+0xa93/0xc90 fs/bcachefs/fs.c:379 bch2_mknod fs/bcachefs/fs.c:484 [inline] bch2_create+0x41/0xc0 fs/bcachefs/fs.c:498 lookup_open.isra.0+0x10a1/0x13c0 fs/namei.c:3505 open_last_lookups fs/namei.c:3574 [inline] path_openat+0x92f/0x29f0 fs/namei.c:3804 do_filp_open+0x1dc/0x430 fs/namei.c:3834 do_sys_openat2+0x17a/0x1e0 fs/open.c:1405 do_sys_open fs/open.c:1420 [inline] __do_sys_open fs/open.c:1428 [inline] __se_sys_open fs/open.c:1424 [inline] __x64_sys_open+0x154/0x1e0 fs/open.c:1424 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xcd/0x250 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7fce1047cf29 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:00007fce1129e0c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000002 RAX: ffffffffffffffda RBX: 00007fce105b4050 RCX: 00007fce1047cf29 RDX: 0000000000000000 RSI: 00000000001451c2 RDI: 0000000020000040 RBP: 00007fce104ec074 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000006e R14: 00007fce105b4050 R15: 00007ffe51b88d48