BTRFS info (device loop4): balance: start -susage=12582912,drange=8796093022212..7,limit=10376293541461622786,limit=2..2415919104 ------------[ cut here ]------------ BTRFS: Transaction aborted (error -28) WARNING: CPU: 0 PID: 7347 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: 7347 Comm: syz.4.227 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 : ffff80009edd7420 x29: ffff80009edd76b0 x28: 00000000007e0000 x27: dfff800000000000 x26: 1fffe0001ea0b90b x25: 1fffe0001ea0b90a x24: ffff0000f505c8a0 x23: 00000000ffffffe4 x22: 0000000000000000 x21: ffff0000f505c858 x20: ffff0000f505c850 x19: 0000000000000000 x18: 1fffe000366c6c76 x17: ffff80008f80d000 x16: ffff800080355c58 x15: 0000000000000001 x14: 1fffe000366c9720 x13: ffff80009edd8000 x12: 0000000000000003 x11: 0000000000000001 x10: 0000000000000003 x9 : 87d8c45c19933200 x8 : 87d8c45c19933200 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: 70230 hardirqs last enabled at (70229): [] raw_spin_rq_unlock_irq kernel/sched/sched.h:1517 [inline] hardirqs last enabled at (70229): [] finish_lock_switch+0xbc/0x1e4 kernel/sched/core.c:5082 hardirqs last disabled at (70230): [] el1_dbg+0x24/0x80 arch/arm64/kernel/entry-common.c:488 softirqs last enabled at (70032): [] softirq_handle_end kernel/softirq.c:400 [inline] softirqs last enabled at (70032): [] handle_softirqs+0xa38/0xbf8 kernel/softirq.c:582 softirqs last disabled at (70003): [] __do_softirq+0x14/0x20 kernel/softirq.c:588 ---[ end trace 0000000000000000 ]--- BTRFS info (device loop4 state A): dumping space info: BTRFS info (device loop4 state A): space_info DATA+METADATA has 2109440 free, is full BTRFS info (device loop4 state A): space_info total=3276800, used=49152, pinned=0, reserved=0, may_use=1118208, readonly=0 zone_unusable=0 BTRFS info (device loop4 state A): space_info SYSTEM has 8253440 free, is not full BTRFS info (device loop4 state A): space_info total=12451840, used=4096, pinned=0, reserved=4096, may_use=0, readonly=4190208 zone_unusable=0 BTRFS info (device loop4 state A): global_block_rsv: size 983040 reserved 983040 BTRFS info (device loop4 state A): trans_block_rsv: size 0 reserved 0 BTRFS info (device loop4 state A): chunk_block_rsv: size 0 reserved 0 BTRFS info (device loop4 state A): delayed_block_rsv: size 0 reserved 0 BTRFS info (device loop4 state A): delayed_refs_rsv: size 196608 reserved 135168 BTRFS: error (device loop4 state A) in btrfs_create_pending_block_groups:2752: 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:2764: errno=-28 No space left BTRFS info (device loop4 state EA): balance: ended with status: -30