bcachefs (loop3 inum 1073741824 offset 126976): bch2_extent_fallocate(): error: EIO ------------[ cut here ]------------ btree trans held srcu lock (delaying memory reclaim) for 31 seconds WARNING: CPU: 0 PID: 7854 at fs/bcachefs/btree_iter.c:2998 check_srcu_held_too_long fs/bcachefs/btree_iter.c:2996 [inline] WARNING: CPU: 0 PID: 7854 at fs/bcachefs/btree_iter.c:2998 bch2_trans_put+0xd7a/0xfb0 fs/bcachefs/btree_iter.c:3239 Modules linked in: CPU: 0 PID: 7854 Comm: syz.3.241 Not tainted 6.10.0-rc7-syzkaller-00266-g4d145e3f830b #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+0xd7a/0xfb0 fs/bcachefs/btree_iter.c:3239 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 20 aa 11 8c 48 89 d6 e8 57 b9 47 fd 90 <0f> 0b 90 90 e9 14 f8 ff ff e8 68 8b 85 fd 90 0f 0b 90 e9 57 f8 ff RSP: 0018:ffffc90003797388 EFLAGS: 00010246 RAX: c8f99e945424bd00 RBX: 0000000000000312 RCX: 0000000000040000 RDX: ffffc90014a03000 RSI: 000000000003ffff RDI: 0000000000040000 RBP: dffffc0000000000 R08: ffffffff815857a2 R09: fffffbfff1c39994 R10: dffffc0000000000 R11: fffffbfff1c39994 R12: 1ffff1100bf8d808 R13: 1ffff1100bf8d80e R14: ffff88805fc6c070 R15: ffff88805fc6c041 FS: 00007fd4ae2f76c0(0000) GS:ffff8880b9400000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00005572c62cad28 CR3: 000000005b284000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: __bchfs_fallocate fs/bcachefs/fs-io.c:703 [inline] bchfs_fallocate fs/bcachefs/fs-io.c:736 [inline] bch2_fallocate_dispatch+0x2b26/0x3810 fs/bcachefs/fs-io.c:783 vfs_fallocate+0x564/0x6c0 fs/open.c:330 do_vfs_ioctl+0x2592/0x2e50 fs/ioctl.c:886 __do_sys_ioctl fs/ioctl.c:905 [inline] __se_sys_ioctl+0x81/0x170 fs/ioctl.c:893 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:0x7fd4ad575bd9 Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 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 a8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007fd4ae2f7048 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 00007fd4ad703f60 RCX: 00007fd4ad575bd9 RDX: 0000000020000180 RSI: 0000000040305839 RDI: 0000000000000007 RBP: 00007fd4ad5e4e60 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007fd4ad703f60 R15: 00007ffca6df8d68