------------[ cut here ]------------ BTRFS: Transaction aborted (error -28) WARNING: CPU: 1 PID: 1877 at fs/btrfs/block-group.c:3853 do_chunk_alloc fs/btrfs/block-group.c:3853 [inline] WARNING: CPU: 1 PID: 1877 at fs/btrfs/block-group.c:3853 btrfs_chunk_alloc+0xde0/0xf50 fs/btrfs/block-group.c:4095 Modules linked in: CPU: 1 PID: 1877 Comm: kworker/u4:6 Not tainted 6.6.0-rc7-syzkaller-g8de1e7afcc1c #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/06/2023 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:3853 [inline] pc : btrfs_chunk_alloc+0xde0/0xf50 fs/btrfs/block-group.c:4095 lr : do_chunk_alloc fs/btrfs/block-group.c:3853 [inline] lr : btrfs_chunk_alloc+0xde0/0xf50 fs/btrfs/block-group.c:4095 sp : ffff80009b3f7890 x29: ffff80009b3f7900 x28: ffff0000d5cc7800 x27: 1fffe0001ace0f12 x26: 1fffe0001b9b6af0 x25: ffff0000dcdb5783 x24: dfff800000000000 x23: ffff0000dcdb5738 x22: 0000000000000000 x21: 0000000000000000 x20: ffffffffffffffe4 x19: ffff0000d6707800 x18: ffff80009b3f6d80 x17: 0000000000000000 x16: ffff80008a71b23c x15: 0000000000000001 x14: 1fffe00036833432 x13: 0000000000000000 x12: 0000000000000000 x11: 0000000000000000 x10: 0000000000000000 x9 : 975df8328998df00 x8 : 975df8328998df00 x7 : 0000000000000001 x6 : 0000000000000001 x5 : ffff80009b3f7178 x4 : ffff80008e4210a0 x3 : ffff8000805a359c x2 : 0000000000000001 x1 : 0000000100000000 x0 : 0000000000000000 Call trace: do_chunk_alloc fs/btrfs/block-group.c:3853 [inline] btrfs_chunk_alloc+0xde0/0xf50 fs/btrfs/block-group.c:4095 flush_space+0x4ac/0xd04 fs/btrfs/space-info.c:765 btrfs_async_reclaim_metadata_space+0x260/0x30c fs/btrfs/space-info.c:1069 process_one_work+0x694/0x1204 kernel/workqueue.c:2630 process_scheduled_works kernel/workqueue.c:2703 [inline] worker_thread+0x938/0xef4 kernel/workqueue.c:2784 kthread+0x288/0x310 kernel/kthread.c:388 ret_from_fork+0x10/0x20 arch/arm64/kernel/entry.S:857 irq event stamp: 200220 hardirqs last enabled at (200219): [] __up_console_sem kernel/printk/printk.c:347 [inline] hardirqs last enabled at (200219): [] __console_unlock kernel/printk/printk.c:2718 [inline] hardirqs last enabled at (200219): [] console_unlock+0x17c/0x3d4 kernel/printk/printk.c:3037 hardirqs last disabled at (200220): [] el1_dbg+0x24/0x80 arch/arm64/kernel/entry-common.c:436 softirqs last enabled at (200164): [] softirq_handle_end kernel/softirq.c:399 [inline] softirqs last enabled at (200164): [] __do_softirq+0xac0/0xd54 kernel/softirq.c:582 softirqs last disabled at (200049): [] ____do_softirq+0x14/0x20 arch/arm64/kernel/irq.c:80 ---[ end trace 0000000000000000 ]--- BTRFS info (device loop0: state A): dumping space info: BTRFS info (device loop0: state A): space_info DATA+METADATA has 3301376 free, is not full BTRFS info (device loop0: state A): space_info total=11534336, used=53248, pinned=20480, reserved=1089536, may_use=7069696, readonly=0 zone_unusable=0 BTRFS info (device loop0: state A): space_info SYSTEM has -98304 free, is not full BTRFS info (device loop0: state A): space_info total=4194304, used=4096, pinned=0, reserved=0, may_use=98304, readonly=4190208 zone_unusable=0 BTRFS info (device loop0: state A): global_block_rsv: size 1441792 reserved 1441792 BTRFS info (device loop0: state A): trans_block_rsv: size 0 reserved 0 BTRFS info (device loop0: state A): chunk_block_rsv: size 98304 reserved 98304 BTRFS info (device loop0: state A): delayed_block_rsv: size 32768 reserved 32768 BTRFS info (device loop0: state A): delayed_refs_rsv: size 1310720 reserved 1310720 BTRFS: error (device loop0: state A) in do_chunk_alloc:3853: errno=-28 No space left BTRFS info (device loop0: state EA): forced readonly BTRFS: error (device loop0: state EA) in btrfs_create_pending_block_groups:2693: errno=-28 No space left