------------[ cut here ]------------ btree trans held srcu lock (delaying memory reclaim) for 29 seconds WARNING: CPU: 1 PID: 7567 at fs/bcachefs/btree_iter.c:2996 check_srcu_held_too_long fs/bcachefs/btree_iter.c:2996 [inline] WARNING: CPU: 1 PID: 7567 at fs/bcachefs/btree_iter.c:2996 check_srcu_held_too_long fs/bcachefs/btree_iter.c:2994 [inline] WARNING: CPU: 1 PID: 7567 at fs/bcachefs/btree_iter.c:2996 bch2_trans_srcu_unlock fs/bcachefs/btree_iter.c:3012 [inline] WARNING: CPU: 1 PID: 7567 at fs/bcachefs/btree_iter.c:2996 bch2_trans_srcu_unlock+0x4b3/0x590 fs/bcachefs/btree_iter.c:3001 Modules linked in: CPU: 1 PID: 7567 Comm: syz-executor.3 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:check_srcu_held_too_long fs/bcachefs/btree_iter.c:2994 [inline] RIP: 0010:bch2_trans_srcu_unlock fs/bcachefs/btree_iter.c:3012 [inline] RIP: 0010:bch2_trans_srcu_unlock+0x4b3/0x590 fs/bcachefs/btree_iter.c:3001 Code: 91 09 48 c7 c7 c0 39 7e 8b 48 b8 c3 f5 28 5c 8f c2 f5 28 48 29 da 48 c1 ea 02 48 f7 e2 48 c1 ea 02 48 89 d6 e8 ce 08 61 fd 90 <0f> 0b 90 90 e9 24 fe ff ff e8 cf ed 9e fd 90 0f 0b 90 e9 6b fe ff RSP: 0018:ffffc9000344f990 EFLAGS: 00010282 RAX: 0000000000000000 RBX: 00000001000024f8 RCX: ffffc9000a49f000 RDX: 0000000000040000 RSI: ffffffff81500076 RDI: 0000000000000001 RBP: ffffffff8d80f200 R08: 0000000000000001 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000001 R12: ffff888024f44041 R13: fffffffffffff894 R14: ffff888024f44000 R15: 0000000000000040 FS: 00007f2c4912c6c0(0000) GS:ffff8880b9300000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000001b31e33000 CR3: 000000001e882000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: bch2_trans_begin+0x101b/0x1330 fs/bcachefs/btree_iter.c:3089 __bchfs_fallocate+0x466/0x15d0 fs/bcachefs/fs-io.c:611 bchfs_fallocate fs/bcachefs/fs-io.c:736 [inline] bch2_fallocate_dispatch+0x74b/0xf70 fs/bcachefs/fs-io.c:783 vfs_fallocate+0x4b8/0xfb0 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+0xd5/0x140 fs/open.c:359 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:0x7f2c4847d0a9 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:00007f2c4912c0c8 EFLAGS: 00000246 ORIG_RAX: 000000000000011d RAX: ffffffffffffffda RBX: 00007f2c485b3f80 RCX: 00007f2c4847d0a9 RDX: 0000000000000000 RSI: 0000000000000011 RDI: 0000000000000004 RBP: 00007f2c484ec074 R08: 0000000000000000 R09: 0000000000000000 R10: 00000fffffeff000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007f2c485b3f80 R15: 00007ffde29e8c58