------------[ cut here ]------------ WARNING: CPU: 0 PID: 418 at fs/btrfs/block-group.c:3505 do_chunk_alloc fs/btrfs/block-group.c:3505 [inline] WARNING: CPU: 0 PID: 418 at fs/btrfs/block-group.c:3505 btrfs_chunk_alloc+0x8f8/0xcdc fs/btrfs/block-group.c:3728 Modules linked in: CPU: 0 PID: 418 Comm: kworker/u4:5 Not tainted 5.15.173-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 Workqueue: events_unbound btrfs_async_reclaim_data_space pstate: 60400005 (nZCv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--) pc : do_chunk_alloc fs/btrfs/block-group.c:3505 [inline] pc : btrfs_chunk_alloc+0x8f8/0xcdc fs/btrfs/block-group.c:3728 lr : do_chunk_alloc fs/btrfs/block-group.c:3505 [inline] lr : btrfs_chunk_alloc+0x8f8/0xcdc fs/btrfs/block-group.c:3728 sp : ffff80001fc478a0 x29: ffff80001fc47900 x28: ffff0000d09276e0 x27: 0000000000000005 x26: ffffffffffffffe4 x25: ffff0000d092772b x24: ffff0000e9638868 x23: 00000000ffffffe4 x22: 1fffe0001a124ee7 x21: ffff0000d65fe000 x20: dfff800000000000 x19: ffff0000d1004000 x18: 0000000000000001 x17: 0000000000000000 x16: ffff800011b4c108 x15: 00000000ffffffff x14: ffff0000c80e0000 x13: 0000000000000001 x12: 0000000000000001 x11: 0000000000000000 x10: 0000000000000000 x9 : fe3d0a7a56682e00 x8 : fe3d0a7a56682e00 x7 : 0000000000000001 x6 : 0000000000000001 x5 : ffff80001fc47018 x4 : ffff800014c405e0 x3 : ffff800008555e80 x2 : 0000000000000001 x1 : 0000000100000000 x0 : 0000000000000026 Call trace: do_chunk_alloc fs/btrfs/block-group.c:3505 [inline] btrfs_chunk_alloc+0x8f8/0xcdc fs/btrfs/block-group.c:3728 flush_space+0x44c/0xc94 fs/btrfs/space-info.c:670 btrfs_async_reclaim_data_space+0xec/0x37c fs/btrfs/space-info.c:1169 process_one_work+0x790/0x11b8 kernel/workqueue.c:2310 worker_thread+0x910/0x1034 kernel/workqueue.c:2457 kthread+0x37c/0x45c kernel/kthread.c:334 ret_from_fork+0x10/0x20 arch/arm64/kernel/entry.S:870 irq event stamp: 1687444 hardirqs last enabled at (1687443): [] __up_console_sem+0xb4/0x100 kernel/printk/printk.c:257 hardirqs last disabled at (1687444): [] el1_dbg+0x24/0x80 arch/arm64/kernel/entry-common.c:396 softirqs last enabled at (1687432): [] softirq_handle_end kernel/softirq.c:401 [inline] softirqs last enabled at (1687432): [] handle_softirqs+0xb88/0xdbc kernel/softirq.c:586 softirqs last disabled at (1687415): [] __do_softirq kernel/softirq.c:592 [inline] softirqs last disabled at (1687415): [] do_softirq_own_stack include/asm-generic/softirq_stack.h:10 [inline] softirqs last disabled at (1687415): [] invoke_softirq kernel/softirq.c:439 [inline] softirqs last disabled at (1687415): [] __irq_exit_rcu+0x268/0x4d8 kernel/softirq.c:641 ---[ end trace cb22ce3fcdb4375c ]--- BTRFS: error (device loop0) in do_chunk_alloc:3505: errno=-28 No space left BTRFS info (device loop0): forced readonly