------------[ cut here ]------------ BTRFS: Transaction aborted (error -28) WARNING: CPU: 0 PID: 20104 at fs/btrfs/block-group.c:3609 do_chunk_alloc+0x3f8/0x508 fs/btrfs/block-group.c:3609 Modules linked in: CPU: 0 PID: 20104 Comm: kworker/u4:25 Not tainted 6.2.0-rc4-syzkaller-16807-gedb2f0dc90f2 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/26/2022 Workqueue: events_unbound btrfs_async_reclaim_metadata_space pstate: 60400005 (nZCv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--) pc : do_chunk_alloc+0x3f8/0x508 fs/btrfs/block-group.c:3609 lr : do_chunk_alloc+0x3f8/0x508 fs/btrfs/block-group.c:3609 sp : ffff8000145d3b50 x29: ffff8000145d3b50 x28: 0000000000000000 x27: 0000000000000001 x26: ffff0001153ae5b0 x25: 0000000000000000 x24: 0000000000000005 x23: ffff000117f3c000 x22: 0000000000000000 x21: ffff00011c1fc000 x20: ffffffffffffffe4 x19: ffff0001153ae5b0 x18: 0000000000000011 x17: ffff80000df59158 x16: ffff80000dd97118 x15: ffff00011c000000 x14: 0000000000000000 x13: 00000000ffffffff x12: ffff00011c000000 x11: ff808000081cf428 x10: 0000000000000000 x9 : ff6e9e554ef93700 x8 : ff6e9e554ef93700 x7 : ffff80000816eab4 x6 : 0000000000000000 x5 : 0000000000000080 x4 : 0000000000000001 x3 : 0000000000000000 x2 : 0000000000000006 x1 : 0000000100000000 x0 : 0000000000000026 Call trace: do_chunk_alloc+0x3f8/0x508 fs/btrfs/block-group.c:3609 btrfs_chunk_alloc+0x36c/0x488 fs/btrfs/block-group.c:3851 flush_space+0x61c/0x770 fs/btrfs/space-info.c:772 btrfs_async_reclaim_metadata_space+0x448/0x518 fs/btrfs/space-info.c:1086 process_one_work+0x2d8/0x504 kernel/workqueue.c:2289 worker_thread+0x340/0x610 kernel/workqueue.c:2436 kthread+0x12c/0x158 kernel/kthread.c:376 ret_from_fork+0x10/0x20 arch/arm64/kernel/entry.S:863 irq event stamp: 4197374 hardirqs last enabled at (4197373): [] raw_spin_rq_unlock_irq kernel/sched/sched.h:1370 [inline] hardirqs last enabled at (4197373): [] finish_lock_switch+0x94/0xe8 kernel/sched/core.c:5052 hardirqs last disabled at (4197374): [] el1_dbg+0x24/0x80 arch/arm64/kernel/entry-common.c:405 softirqs last enabled at (4197366): [] _stext+0x2e4/0x37c softirqs last disabled at (4197347): [] ____do_softirq+0x14/0x20 arch/arm64/kernel/irq.c:80 ---[ end trace 0000000000000000 ]--- BTRFS info (device loop1: state A): dumping space info: BTRFS info (device loop1: state A): space_info DATA+METADATA has 7745536 free, is not full BTRFS info (device loop1: state A): space_info total=11534336, used=61440, pinned=12288, reserved=0, may_use=2097152, readonly=1617920 zone_unusable=0 BTRFS info (device loop1: state A): space_info SYSTEM has 4091904 free, is not full BTRFS info (device loop1: state A): space_info total=4194304, used=4096, pinned=0, reserved=0, may_use=98304, readonly=0 zone_unusable=0 BTRFS info (device loop1: state A): global_block_rsv: size 917504 reserved 917504 BTRFS info (device loop1: state A): trans_block_rsv: size 0 reserved 0 BTRFS info (device loop1: state A): chunk_block_rsv: size 98304 reserved 98304 BTRFS info (device loop1: state A): delayed_block_rsv: size 0 reserved 0 BTRFS info (device loop1: state A): delayed_refs_rsv: size 131072 reserved 131072 BTRFS: error (device loop1: state A) in do_chunk_alloc:3609: errno=-28 No space left BTRFS info (device loop1: state EA): forced readonly BTRFS: error (device loop1: state EA) in btrfs_create_pending_block_groups:2488: errno=-28 No space left ------------[ cut here ]------------ BTRFS: Transaction aborted (error -28) WARNING: CPU: 1 PID: 20104 at fs/btrfs/block-group.c:3609 do_chunk_alloc+0x3f8/0x508 fs/btrfs/block-group.c:3609 Modules linked in: CPU: 1 PID: 20104 Comm: kworker/u4:25 Tainted: G W 6.2.0-rc4-syzkaller-16807-gedb2f0dc90f2 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/26/2022 Workqueue: events_unbound btrfs_async_reclaim_metadata_space pstate: 60400005 (nZCv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--) pc : do_chunk_alloc+0x3f8/0x508 fs/btrfs/block-group.c:3609 lr : do_chunk_alloc+0x3f8/0x508 fs/btrfs/block-group.c:3609 sp : ffff8000145d3b50 x29: ffff8000145d3b50 x28: 0000000000000000 x27: 0000000000000001 x26: ffff00011cd43340 x25: 0000000000000000 x24: 0000000000000005 x23: ffff00011f2e8000 x22: 0000000000000000 x21: ffff00011824b800 x20: ffffffffffffffe4 x19: ffff00011cd43340 x18: 00000000000001a9 x17: ffff80000c16e8bc x16: ffff80000dd97118 x15: ffff00011c000000 x14: 0000000000000000 x13: 00000000ffffffff x12: ffff00011c000000 x11: ff808000081cf428 x10: 0000000000000000 x9 : ff6e9e554ef93700 x8 : ff6e9e554ef93700 x7 : ffff80000816eab4 x6 : 0000000000000000 x5 : 0000000000000080 x4 : 0000000000000001 x3 : 0000000000000000 x2 : ffff0001fefdef08 x1 : 0000000100000000 x0 : 0000000000000026 Call trace: do_chunk_alloc+0x3f8/0x508 fs/btrfs/block-group.c:3609 btrfs_chunk_alloc+0x36c/0x488 fs/btrfs/block-group.c:3851 flush_space+0x61c/0x770 fs/btrfs/space-info.c:772 btrfs_async_reclaim_metadata_space+0x448/0x518 fs/btrfs/space-info.c:1086 process_one_work+0x2d8/0x504 kernel/workqueue.c:2289 worker_thread+0x340/0x610 kernel/workqueue.c:2436 kthread+0x12c/0x158 kernel/kthread.c:376 ret_from_fork+0x10/0x20 arch/arm64/kernel/entry.S:863 irq event stamp: 4542196 hardirqs last enabled at (4542195): [] raw_spin_rq_unlock_irq kernel/sched/sched.h:1370 [inline] hardirqs last enabled at (4542195): [] finish_lock_switch+0x94/0xe8 kernel/sched/core.c:5052 hardirqs last disabled at (4542196): [] el1_dbg+0x24/0x80 arch/arm64/kernel/entry-common.c:405 softirqs last enabled at (4541980): [] spin_unlock_bh include/linux/spinlock.h:395 [inline] softirqs last enabled at (4541980): [] ieee80211_ibss_work+0x184/0x9f0 net/mac80211/ibss.c:1701 softirqs last disabled at (4541978): [] spin_lock_bh include/linux/spinlock.h:355 [inline] softirqs last disabled at (4541978): [] ieee80211_ibss_work+0x68/0x9f0 net/mac80211/ibss.c:1690 ---[ end trace 0000000000000000 ]--- BTRFS info (device loop1: state A): dumping space info: BTRFS info (device loop1: state A): space_info DATA+METADATA has 7737344 free, is not full BTRFS info (device loop1: state A): space_info total=11534336, used=61440, pinned=12288, reserved=0, may_use=2097152, readonly=1626112 zone_unusable=0 BTRFS info (device loop1: state A): space_info SYSTEM has 4091904 free, is not full BTRFS info (device loop1: state A): space_info total=4194304, used=4096, pinned=0, reserved=0, may_use=98304, readonly=0 zone_unusable=0 BTRFS info (device loop1: state A): global_block_rsv: size 917504 reserved 917504 BTRFS info (device loop1: state A): trans_block_rsv: size 0 reserved 0 BTRFS info (device loop1: state A): chunk_block_rsv: size 98304 reserved 98304 BTRFS info (device loop1: state A): delayed_block_rsv: size 0 reserved 0 BTRFS info (device loop1: state A): delayed_refs_rsv: size 131072 reserved 131072 BTRFS: error (device loop1: state A) in do_chunk_alloc:3609: errno=-28 No space left BTRFS info (device loop1: state EA): forced readonly BTRFS: error (device loop1: state EA) in btrfs_create_pending_block_groups:2488: errno=-28 No space left