BTRFS error (device loop1): allocation failed flags 2, wanted 4096 tree-log 0, relocation: 0 ------------[ cut here ]------------ BTRFS: Transaction aborted (error -28) WARNING: CPU: 0 PID: 12 at fs/btrfs/block-group.c:3990 do_chunk_alloc fs/btrfs/block-group.c:3990 [inline] WARNING: CPU: 0 PID: 12 at fs/btrfs/block-group.c:3990 btrfs_chunk_alloc+0xf58/0x1220 fs/btrfs/block-group.c:4231 Modules linked in: CPU: 0 UID: 0 PID: 12 Comm: kworker/u8:0 Not tainted 6.16.0-rc5-syzkaller-gec4801305969 #0 PREEMPT Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/07/2025 Workqueue: events_unbound btrfs_async_reclaim_metadata_space pstate: 60400005 (nZCv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--) pc : do_chunk_alloc fs/btrfs/block-group.c:3990 [inline] pc : btrfs_chunk_alloc+0xf58/0x1220 fs/btrfs/block-group.c:4231 lr : do_chunk_alloc fs/btrfs/block-group.c:3990 [inline] lr : btrfs_chunk_alloc+0xf58/0x1220 fs/btrfs/block-group.c:4231 sp : ffff800097a877c0 x29: ffff800097a87820 x28: ffff0000d241d000 x27: ffffffffffffffe4 x26: 0000000000000001 x25: ffff0000c83a28b4 x24: ffff0000de038818 x23: dfff800000000000 x22: ffff0000f3d40000 x21: 0000000000000000 x20: 0000000000000000 x19: ffff0000c83a2800 x18: 00000000ffffffff x17: 0000000000000000 x16: ffff80008aefc458 x15: 0000000000000001 x14: 1fffe000337d40e2 x13: 0000000000000000 x12: 0000000000000000 x11: ffff6000337d40e3 x10: 0000000000ff0100 x9 : 670511298f526600 x8 : 670511298f526600 x7 : 0000000000000001 x6 : 0000000000000001 x5 : ffff800097a87118 x4 : ffff80008f766be0 x3 : ffff8000807bcfac x2 : 0000000000000001 x1 : 0000000100000000 x0 : 0000000000000000 Call trace: do_chunk_alloc fs/btrfs/block-group.c:3990 [inline] (P) btrfs_chunk_alloc+0xf58/0x1220 fs/btrfs/block-group.c:4231 (P) flush_space+0x2f0/0xb68 fs/btrfs/space-info.c:861 do_async_reclaim_metadata_space+0x110/0x364 fs/btrfs/space-info.c:1158 btrfs_async_reclaim_metadata_space+0x90/0xd8 fs/btrfs/space-info.c:1226 process_one_work+0x7e8/0x155c kernel/workqueue.c:3238 process_scheduled_works kernel/workqueue.c:3321 [inline] worker_thread+0x958/0xed8 kernel/workqueue.c:3402 kthread+0x5fc/0x75c kernel/kthread.c:464 ret_from_fork+0x10/0x20 arch/arm64/kernel/entry.S:843 irq event stamp: 1991266 hardirqs last enabled at (1991265): [] __up_console_sem kernel/printk/printk.c:344 [inline] hardirqs last enabled at (1991265): [] __console_unlock+0x70/0xc4 kernel/printk/printk.c:2885 hardirqs last disabled at (1991266): [] el1_brk64+0x1c/0x48 arch/arm64/kernel/entry-common.c:574 softirqs last enabled at (1990954): [] local_bh_enable+0x10/0x34 include/linux/bottom_half.h:32 softirqs last disabled at (1990952): [] local_bh_disable+0x10/0x34 include/linux/bottom_half.h:19 ---[ end trace 0000000000000000 ]--- BTRFS: error (device loop1 state A) in do_chunk_alloc:3990: errno=-28 No space left