BTRFS info (device loop2): balance: start -susage=12582912,drange=8796093022212..7,limit=10376293541461622786,limit=2..2415919104 ------------[ cut here ]------------ BTRFS: Transaction aborted (error -28) WARNING: CPU: 0 PID: 7739 at fs/btrfs/block-group.c:2752 btrfs_create_pending_block_groups+0x1024/0x12a0 fs/btrfs/block-group.c:2752 Modules linked in: CPU: 0 UID: 0 PID: 7739 Comm: syz.2.279 Not tainted 6.12.0-rc7-syzkaller-g887407160d72 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 pstate: 60400005 (nZCv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--) pc : btrfs_create_pending_block_groups+0x1024/0x12a0 fs/btrfs/block-group.c:2752 lr : btrfs_create_pending_block_groups+0x1024/0x12a0 fs/btrfs/block-group.c:2752 sp : ffff8000a2d77420 x29: ffff8000a2d776b0 x28: 00000000007e0000 x27: dfff800000000000 x26: 1fffe0001dd05d0b x25: 1fffe0001dd05d0a x24: ffff0000ee82e8a0 x23: 00000000ffffffe4 x22: 0000000000000000 x21: ffff0000ee82e858 x20: ffff0000ee82e850 x19: 0000000000000000 x18: 1fffe000366c6c76 x17: ffff80008f80d000 x16: ffff800080355c58 x15: 0000000000000001 x14: 1fffe000366c9720 x13: ffff8000a2d78000 x12: 0000000000000003 x11: 0000000000000001 x10: 0000000000000003 x9 : fff36d143b9b7500 x8 : fff36d143b9b7500 x7 : ffff8000802c419c x6 : 0000000000000000 x5 : 0000000000000001 x4 : 0000000000000001 x3 : 0000000000000000 x2 : 0000000000000007 x1 : ffff80008b624020 x0 : ffff800123ed7000 Call trace: btrfs_create_pending_block_groups+0x1024/0x12a0 fs/btrfs/block-group.c:2752 (P) btrfs_create_pending_block_groups+0x1024/0x12a0 fs/btrfs/block-group.c:2752 (L) __btrfs_end_transaction+0x134/0x5f0 fs/btrfs/transaction.c:1065 btrfs_end_transaction+0x24/0x34 fs/btrfs/transaction.c:1104 btrfs_inc_block_group_ro+0x594/0x624 fs/btrfs/block-group.c:3043 btrfs_relocate_block_group+0x318/0x98c fs/btrfs/relocation.c:4035 btrfs_relocate_chunk+0x118/0x37c fs/btrfs/volumes.c:3377 __btrfs_balance+0x1454/0x1db4 fs/btrfs/volumes.c:4161 btrfs_balance+0xa38/0xe50 fs/btrfs/volumes.c:4538 btrfs_ioctl_balance+0x3e4/0x778 fs/btrfs/ioctl.c:3673 btrfs_ioctl+0x70c/0xaec fs/btrfs/ioctl.c:4783 vfs_ioctl fs/ioctl.c:51 [inline] __do_sys_ioctl fs/ioctl.c:907 [inline] __se_sys_ioctl fs/ioctl.c:893 [inline] __arm64_sys_ioctl+0x14c/0x1c8 fs/ioctl.c:893 __invoke_syscall arch/arm64/kernel/syscall.c:35 [inline] invoke_syscall+0x98/0x2b8 arch/arm64/kernel/syscall.c:49 el0_svc_common+0x130/0x23c arch/arm64/kernel/syscall.c:132 do_el0_svc+0x48/0x58 arch/arm64/kernel/syscall.c:151 el0_svc+0x54/0x168 arch/arm64/kernel/entry-common.c:744 el0t_64_sync_handler+0x84/0x108 arch/arm64/kernel/entry-common.c:762 el0t_64_sync+0x198/0x19c arch/arm64/kernel/entry.S:600 irq event stamp: 77564 hardirqs last enabled at (77563): [] raw_spin_rq_unlock_irq kernel/sched/sched.h:1517 [inline] hardirqs last enabled at (77563): [] finish_lock_switch+0xbc/0x1e4 kernel/sched/core.c:5082 hardirqs last disabled at (77564): [] el1_dbg+0x24/0x80 arch/arm64/kernel/entry-common.c:488 softirqs last enabled at (77556): [] softirq_handle_end kernel/softirq.c:400 [inline] softirqs last enabled at (77556): [] handle_softirqs+0xa38/0xbf8 kernel/softirq.c:582 softirqs last disabled at (77537): [] __do_softirq+0x14/0x20 kernel/softirq.c:588 ---[ end trace 0000000000000000 ]--- BTRFS info (device loop2 state A): dumping space info: BTRFS info (device loop2 state A): space_info DATA+METADATA has 2109440 free, is full BTRFS info (device loop2 state A): space_info total=3276800, used=49152, pinned=0, reserved=0, may_use=1118208, readonly=0 zone_unusable=0 BTRFS info (device loop2 state A): space_info SYSTEM has 8253440 free, is not full BTRFS info (device loop2 state A): space_info total=12451840, used=4096, pinned=0, reserved=4096, may_use=0, readonly=4190208 zone_unusable=0 BTRFS info (device loop2 state A): global_block_rsv: size 983040 reserved 983040 BTRFS info (device loop2 state A): trans_block_rsv: size 0 reserved 0 BTRFS info (device loop2 state A): chunk_block_rsv: size 0 reserved 0 BTRFS info (device loop2 state A): delayed_block_rsv: size 0 reserved 0 BTRFS info (device loop2 state A): delayed_refs_rsv: size 196608 reserved 135168 BTRFS: error (device loop2 state A) in btrfs_create_pending_block_groups:2752: errno=-28 No space left BTRFS info (device loop2 state EA): forced readonly BTRFS: error (device loop2 state EA) in btrfs_create_pending_block_groups:2764: errno=-28 No space left BTRFS info (device loop2 state EA): balance: ended with status: -30