------------[ cut here ]------------ BTRFS: Transaction aborted (error -28) WARNING: CPU: 1 PID: 4617 at fs/btrfs/block-group.c:3945 do_chunk_alloc fs/btrfs/block-group.c:3945 [inline] WARNING: CPU: 1 PID: 4617 at fs/btrfs/block-group.c:3945 btrfs_chunk_alloc+0xe1c/0xf8c fs/btrfs/block-group.c:4187 Modules linked in: CPU: 1 UID: 0 PID: 4617 Comm: kworker/u8:10 Not tainted 6.13.0-rc2-syzkaller-gfac04efc5c79 #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:3945 [inline] pc : btrfs_chunk_alloc+0xe1c/0xf8c fs/btrfs/block-group.c:4187 lr : do_chunk_alloc fs/btrfs/block-group.c:3945 [inline] lr : btrfs_chunk_alloc+0xe1c/0xf8c fs/btrfs/block-group.c:4187 sp : ffff8000a22f7800 x29: ffff8000a22f7880 x28: ffff0000f248b000 x27: 1fffe0001b6c1f58 x26: ffff0000db60fac3 x25: ffff0000db60fa68 x24: ffffffffffffffe4 x23: 0000000000000002 x22: 0000000000000000 x21: ffff0000d6e40808 x20: dfff800000000000 x19: 0000000000000000 x18: 1fffe000366c5a7e x17: ffff80008f97d000 x16: ffff800080460e20 x15: 0000000000000001 x14: 1fffe000366c84d0 x13: ffff8000a22f8000 x12: 0000000000000003 x11: 0000000000000001 x10: 0000000000000003 x9 : 62aa911754046e00 x8 : 62aa911754046e00 x7 : ffff8000803ce76c x6 : 0000000000000000 x5 : 0000000000000001 x4 : 0000000000000001 x3 : 0000000000000000 x2 : 0000000000000006 x1 : ffff80008b736ea0 x0 : ffff800123d62000 Call trace: do_chunk_alloc fs/btrfs/block-group.c:3945 [inline] (P) btrfs_chunk_alloc+0xe1c/0xf8c fs/btrfs/block-group.c:4187 (P) do_chunk_alloc fs/btrfs/block-group.c:3945 [inline] (L) btrfs_chunk_alloc+0xe1c/0xf8c fs/btrfs/block-group.c:4187 (L) flush_space+0x430/0xc50 fs/btrfs/space-info.c:808 btrfs_async_reclaim_data_space+0x100/0x440 fs/btrfs/space-info.c:1321 process_one_work+0x7a8/0x15cc kernel/workqueue.c:3229 process_scheduled_works kernel/workqueue.c:3310 [inline] worker_thread+0x97c/0xeec kernel/workqueue.c:3391 kthread+0x288/0x310 kernel/kthread.c:389 ret_from_fork+0x10/0x20 arch/arm64/kernel/entry.S:862 irq event stamp: 717708 hardirqs last enabled at (717707): [] raw_spin_rq_unlock_irq kernel/sched/sched.h:1526 [inline] hardirqs last enabled at (717707): [] finish_lock_switch+0xbc/0x1e4 kernel/sched/core.c:5123 hardirqs last disabled at (717708): [] el1_dbg+0x24/0x80 arch/arm64/kernel/entry-common.c:488 softirqs last enabled at (717150): [] spin_unlock_bh include/linux/spinlock.h:396 [inline] softirqs last enabled at (717150): [] nsim_dev_trap_report drivers/net/netdevsim/dev.c:820 [inline] softirqs last enabled at (717150): [] nsim_dev_trap_report_work+0x678/0x9b4 drivers/net/netdevsim/dev.c:851 softirqs last disabled at (717148): [] spin_lock_bh include/linux/spinlock.h:356 [inline] softirqs last disabled at (717148): [] nsim_dev_trap_report drivers/net/netdevsim/dev.c:816 [inline] softirqs last disabled at (717148): [] nsim_dev_trap_report_work+0x5f4/0x9b4 drivers/net/netdevsim/dev.c:851 ---[ end trace 0000000000000000 ]--- BTRFS info (device loop4 state A): dumping space info: BTRFS info (device loop4 state A): space_info DATA+METADATA has 4866048 free, is not full BTRFS info (device loop4 state A): space_info total=11534336, used=53248, pinned=0, reserved=12288, may_use=6602752, readonly=0 zone_unusable=0 BTRFS info (device loop4 state A): space_info SYSTEM has -98304 free, is not full BTRFS info (device loop4 state A): space_info total=4194304, used=4096, pinned=0, reserved=0, may_use=98304, readonly=4190208 zone_unusable=0 BTRFS info (device loop4 state A): global_block_rsv: size 1441792 reserved 1441792 BTRFS info (device loop4 state A): trans_block_rsv: size 0 reserved 0 BTRFS info (device loop4 state A): chunk_block_rsv: size 98304 reserved 98304 BTRFS info (device loop4 state A): delayed_block_rsv: size 131072 reserved 131072 BTRFS info (device loop4 state A): delayed_refs_rsv: size 851968 reserved 786432 BTRFS: error (device loop4 state A) in do_chunk_alloc:3945: errno=-28 No space left BTRFS info (device loop4 state EA): forced readonly BTRFS: error (device loop4 state EA) in btrfs_create_pending_block_groups:2759: errno=-28 No space left