BTRFS info (device loop3): balance: start -susage=12582912,drange=8796093022212..7,limit=10376293541461622786,limit=2..2415919104 ------------[ cut here ]------------ WARNING: CPU: 1 PID: 5253 at fs/btrfs/block-group.c:2535 btrfs_create_pending_block_groups+0xd4c/0x1000 fs/btrfs/block-group.c:2535 Modules linked in: CPU: 1 PID: 5253 Comm: syz.3.213 Tainted: G W 6.1.121-syzkaller #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+0xd4c/0x1000 fs/btrfs/block-group.c:2535 lr : btrfs_create_pending_block_groups+0xd4c/0x1000 fs/btrfs/block-group.c:2535 sp : ffff800021a97400 x29: ffff800021a97680 x28: ffff0000df20a440 x27: ffff0000d523a1b8 x26: 0000000000000000 x25: 1fffe0001aa4740b x24: dfff800000000000 x23: 1fffe0001aa4740a x22: 0000000000000000 x21: ffff0000d523a058 x20: 00000000ffffffe4 x19: ffff0000d523a050 x18: 0000000000000140 x17: ffff80019e31d000 x16: ffff80000830158c x15: 0000000000010000 x14: 1ffff00002b520b2 x13: dfff800000000000 x12: 0000000000000003 x11: 0000000000ff0100 x10: 0000000000000003 x9 : 3b698243553a6400 x8 : 3b698243553a6400 x7 : ffff800008278b0c x6 : 0000000000000000 x5 : 0000000000000080 x4 : 0000000000000001 x3 : 0000000000000000 x2 : 0000000000000007 x1 : ffff80001248c5c0 x0 : ffff80019e31d000 Call trace: btrfs_create_pending_block_groups+0xd4c/0x1000 fs/btrfs/block-group.c:2535 __btrfs_end_transaction+0x254/0x75c fs/btrfs/transaction.c:1010 btrfs_end_transaction+0x24/0x34 fs/btrfs/transaction.c:1049 btrfs_inc_block_group_ro+0x594/0x624 fs/btrfs/block-group.c:2799 btrfs_relocate_block_group+0x31c/0x98c fs/btrfs/relocation.c:4046 btrfs_relocate_chunk+0x118/0x368 fs/btrfs/volumes.c:3344 __btrfs_balance+0x1468/0x1dc8 fs/btrfs/volumes.c:4092 btrfs_balance+0xa38/0xe40 fs/btrfs/volumes.c:4468 btrfs_ioctl_balance+0x3e4/0x778 fs/btrfs/ioctl.c:4531 btrfs_ioctl+0x72c/0xb08 fs/btrfs/ioctl.c:5570 vfs_ioctl fs/ioctl.c:51 [inline] __do_sys_ioctl fs/ioctl.c:870 [inline] __se_sys_ioctl fs/ioctl.c:856 [inline] __arm64_sys_ioctl+0x14c/0x1c8 fs/ioctl.c:856 __invoke_syscall arch/arm64/kernel/syscall.c:38 [inline] invoke_syscall+0x98/0x2bc arch/arm64/kernel/syscall.c:52 el0_svc_common+0x138/0x258 arch/arm64/kernel/syscall.c:140 do_el0_svc+0x58/0x13c arch/arm64/kernel/syscall.c:204 el0_svc+0x58/0x168 arch/arm64/kernel/entry-common.c:637 el0t_64_sync_handler+0x84/0xf0 arch/arm64/kernel/entry-common.c:655 el0t_64_sync+0x18c/0x190 arch/arm64/kernel/entry.S:585 irq event stamp: 77460 hardirqs last enabled at (77459): [] raw_spin_rq_unlock_irq kernel/sched/sched.h:1367 [inline] hardirqs last enabled at (77459): [] finish_lock_switch+0xbc/0x1e8 kernel/sched/core.c:5000 hardirqs last disabled at (77460): [] el1_dbg+0x24/0x80 arch/arm64/kernel/entry-common.c:405 softirqs last enabled at (77444): [] softirq_handle_end kernel/softirq.c:414 [inline] softirqs last enabled at (77444): [] handle_softirqs+0xb84/0xd58 kernel/softirq.c:599 softirqs last disabled at (77439): [] __do_softirq+0x14/0x20 kernel/softirq.c:605 ---[ end trace 0000000000000000 ]--- BTRFS info (device loop3: state A): dumping space info: BTRFS info (device loop3: state A): space_info DATA+METADATA has 2240512 free, is full BTRFS info (device loop3: state A): space_info total=3276800, used=49152, pinned=0, reserved=0, may_use=987136, readonly=0 zone_unusable=0 BTRFS info (device loop3: state A): space_info SYSTEM has 8253440 free, is not full BTRFS info (device loop3: state A): space_info total=12451840, used=4096, pinned=0, reserved=4096, may_use=0, readonly=4190208 zone_unusable=0 BTRFS info (device loop3: state A): global_block_rsv: size 983040 reserved 983040 BTRFS info (device loop3: state A): trans_block_rsv: size 0 reserved 0 BTRFS info (device loop3: state A): chunk_block_rsv: size 0 reserved 0 BTRFS info (device loop3: state A): delayed_block_rsv: size 0 reserved 0 BTRFS info (device loop3: state A): delayed_refs_rsv: size 196608 reserved 4096 BTRFS: error (device loop3: state A) in btrfs_create_pending_block_groups:2535: errno=-28 No space left BTRFS info (device loop3: state EA): forced readonly BTRFS: error (device loop3: state EA) in btrfs_create_pending_block_groups:2547: errno=-28 No space left BTRFS info (device loop3: state EA): balance: ended with status: -30 BTRFS info (device loop3: state EA): last unmount of filesystem e417788f-7a09-42b2-9266-8ddc5d5d35d2