BTRFS info (device loop1): 4190208 bytes available across all block groups ------------[ cut here ]------------ BTRFS: Transaction aborted (error -28) WARNING: fs/btrfs/block-group.c:3990 at do_chunk_alloc fs/btrfs/block-group.c:3990 [inline], CPU#0: kworker/u8:10/6067 WARNING: fs/btrfs/block-group.c:3990 at btrfs_chunk_alloc+0xf9d/0x1460 fs/btrfs/block-group.c:4231, CPU#0: kworker/u8:10/6067 Modules linked in: CPU: 0 UID: 0 PID: 6067 Comm: kworker/u8:10 Not tainted 6.16.0-rc3-next-20250626-syzkaller #0 PREEMPT(full) Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/07/2025 Workqueue: events_unbound btrfs_async_reclaim_metadata_space RIP: 0010:do_chunk_alloc fs/btrfs/block-group.c:3990 [inline] RIP: 0010:btrfs_chunk_alloc+0xf9d/0x1460 fs/btrfs/block-group.c:4231 Code: bb fd 84 c0 0f 84 63 01 00 00 e8 9e 91 d4 fd e9 8c 03 00 00 e8 94 91 d4 fd 90 48 c7 c7 00 db cf 8b 44 89 f6 e8 24 44 98 fd 90 <0f> 0b 90 90 e9 3e fc ff ff e8 75 91 d4 fd eb 05 e8 6e 91 d4 fd e8 RSP: 0018:ffffc9000bd17778 EFLAGS: 00010246 RAX: 9a68691685ccaa00 RBX: ffff88804bfa8001 RCX: ffff88801e363c00 RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000002 RBP: 0000000000000000 R08: 0000000000000003 R09: 0000000000000004 R10: dffffc0000000000 R11: fffffbfff1bfa428 R12: dffffc0000000000 R13: ffff88805519d000 R14: ffffffffffffffe4 R15: ffff888056201128 FS: 0000000000000000(0000) GS:ffff888125c1f000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f11f22f7000 CR3: 00000000277cc000 CR4: 00000000003526f0 Call Trace: flush_space+0x30b/0xcd0 fs/btrfs/space-info.c:861 do_async_reclaim_metadata_space+0x144/0x390 fs/btrfs/space-info.c:1158 btrfs_async_reclaim_metadata_space+0x89/0xe0 fs/btrfs/space-info.c:1226 process_one_work kernel/workqueue.c:3239 [inline] process_scheduled_works+0xade/0x17b0 kernel/workqueue.c:3322 worker_thread+0x8a0/0xda0 kernel/workqueue.c:3403 kthread+0x711/0x8a0 kernel/kthread.c:463 ret_from_fork+0x3fc/0x770 arch/x86/kernel/process.c:148 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:245