------------[ cut here ]------------ btree trans held srcu lock (delaying memory reclaim) for 28 seconds WARNING: CPU: 1 PID: 5772 at fs/bcachefs/btree_iter.c:2998 check_srcu_held_too_long fs/bcachefs/btree_iter.c:2996 [inline] WARNING: CPU: 1 PID: 5772 at fs/bcachefs/btree_iter.c:2998 bch2_trans_srcu_unlock+0x4ea/0x600 fs/bcachefs/btree_iter.c:3012 Modules linked in: CPU: 1 PID: 5772 Comm: syz-executor.0 Not tainted 6.10.0-rc5-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_srcu_unlock+0x4ea/0x600 fs/bcachefs/btree_iter.c:3012 Code: 2b 1f 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 60 6e 11 8c 48 89 d6 e8 e7 12 48 fd 90 <0f> 0b 90 90 e9 c0 fe ff ff 44 89 f9 80 e1 07 38 c1 0f 8c 3f fb ff RSP: 0018:ffffc90004a3f6f8 EFLAGS: 00010246 RAX: c6106a93f4ac1200 RBX: 00000000000002d4 RCX: 0000000000040000 RDX: ffffc900128e4000 RSI: 000000000003ffff RDI: 0000000000040000 RBP: 00000000ffffb748 R08: ffffffff81585742 R09: 1ffff110172a519a R10: dffffc0000000000 R11: ffffed10172a519b R12: dffffc0000000000 R13: 1ffff110055b900e R14: 1ffff110055b9008 R15: ffff88802adc8070 FS: 00007fed43bd76c0(0000) GS:ffff8880b9500000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00000000200000c0 CR3: 000000005e478000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: bch2_trans_begin+0x1495/0x19a0 fs/bcachefs/btree_iter.c:3089 __bchfs_fallocate fs/bcachefs/fs-io.c:611 [inline] bchfs_fallocate fs/bcachefs/fs-io.c:736 [inline] bch2_fallocate_dispatch+0x1183/0x3810 fs/bcachefs/fs-io.c:783 vfs_fallocate+0x564/0x6c0 fs/open.c:330 ksys_fallocate fs/open.c:353 [inline] __do_sys_fallocate fs/open.c:361 [inline] __se_sys_fallocate fs/open.c:359 [inline] __x64_sys_fallocate+0xbd/0x110 fs/open.c:359 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:0x7fed42e7d0a9 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:00007fed43bd70c8 EFLAGS: 00000246 ORIG_RAX: 000000000000011d RAX: ffffffffffffffda RBX: 00007fed42fb4050 RCX: 00007fed42e7d0a9 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000005 RBP: 00007fed42eec074 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000007000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000006e R14: 00007fed42fb4050 R15: 00007ffc85ce96b8