BTRFS critical (device loop8): entry offset 6881280, bytes 1638400, bitmap no BTRFS info (device loop8): block group has cluster?: no BTRFS info (device loop8): 1 blocks of free space at or bigger than bytes is ------------[ cut here ]------------ WARNING: CPU: 0 PID: 6546 at fs/btrfs/block-group.c:2437 btrfs_create_pending_block_groups+0xba4/0xebc fs/btrfs/block-group.c:2437 Modules linked in: CPU: 0 PID: 6546 Comm: syz.8.346 Not tainted 5.15.175-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+0xba4/0xebc fs/btrfs/block-group.c:2437 lr : btrfs_create_pending_block_groups+0xba4/0xebc fs/btrfs/block-group.c:2437 sp : ffff8000202c7460 x29: ffff8000202c76a0 x28: ffff0000e7d8d440 x27: ffff0000ede0c1b0 x26: ffff0000cc7105d8 x25: ffff0000ede0c050 x24: dfff800000000000 x23: 1fffe0001dbc180b x22: 1fffe0001dbc180a x21: ffff0000e7d8d9d0 x20: ffff0000ede0c058 x19: 00000000ffffffe4 x18: 0000000000000001 x17: 0000000000000002 x16: ffff800011b4eaf8 x15: 00000000ffffffff x14: ffff0000ecae51c0 x13: 0000000000000001 x12: 0000000000080000 x11: 000000000007ffff x10: ffff80002a400000 x9 : da42518ecfcd0100 x8 : da42518ecfcd0100 x7 : 0000000000000001 x6 : 0000000000000001 x5 : ffff8000202c6bd8 x4 : ffff800014c50660 x3 : ffff800008555fe4 x2 : 0000000000000001 x1 : 0000000100000000 x0 : 0000000000000026 Call trace: btrfs_create_pending_block_groups+0xba4/0xebc fs/btrfs/block-group.c:2437 __btrfs_end_transaction+0x13c/0x610 fs/btrfs/transaction.c:1014 btrfs_end_transaction+0x24/0x34 fs/btrfs/transaction.c:1050 btrfs_inc_block_group_ro+0x4dc/0x54c fs/btrfs/block-group.c:2660 btrfs_relocate_block_group+0x2c0/0x8bc fs/btrfs/relocation.c:4041 btrfs_relocate_chunk+0xb8/0x280 fs/btrfs/volumes.c:3332 __btrfs_balance+0x1214/0x1e20 fs/btrfs/volumes.c:4073 btrfs_balance+0xaa8/0x111c fs/btrfs/volumes.c:4463 btrfs_ioctl_balance+0x50c/0x7b4 fs/btrfs/ioctl.c:4152 btrfs_ioctl+0x8d4/0xa5c fs/btrfs/ioctl.c:5012 vfs_ioctl fs/ioctl.c:51 [inline] __do_sys_ioctl fs/ioctl.c:874 [inline] __se_sys_ioctl fs/ioctl.c:860 [inline] __arm64_sys_ioctl+0x14c/0x1c8 fs/ioctl.c:860 __invoke_syscall arch/arm64/kernel/syscall.c:38 [inline] invoke_syscall+0x98/0x2b8 arch/arm64/kernel/syscall.c:52 el0_svc_common+0x138/0x258 arch/arm64/kernel/syscall.c:142 do_el0_svc+0x58/0x14c arch/arm64/kernel/syscall.c:181 el0_svc+0x7c/0x1f0 arch/arm64/kernel/entry-common.c:608 el0t_64_sync_handler+0x84/0xe4 arch/arm64/kernel/entry-common.c:626 el0t_64_sync+0x1a0/0x1a4 arch/arm64/kernel/entry.S:584 irq event stamp: 85886 hardirqs last enabled at (85885): [] __up_console_sem+0xb4/0x100 kernel/printk/printk.c:257 hardirqs last disabled at (85886): [] el1_dbg+0x24/0x80 arch/arm64/kernel/entry-common.c:396 softirqs last enabled at (85846): [] softirq_handle_end kernel/softirq.c:401 [inline] softirqs last enabled at (85846): [] handle_softirqs+0xb88/0xdbc kernel/softirq.c:586 softirqs last disabled at (85801): [] __do_softirq kernel/softirq.c:592 [inline] softirqs last disabled at (85801): [] do_softirq_own_stack include/asm-generic/softirq_stack.h:10 [inline] softirqs last disabled at (85801): [] invoke_softirq kernel/softirq.c:439 [inline] softirqs last disabled at (85801): [] __irq_exit_rcu+0x268/0x4d8 kernel/softirq.c:641 ---[ end trace 6df2f38d0e368263 ]--- BTRFS: error (device loop8) in btrfs_create_pending_block_groups:2437: errno=-28 No space left BTRFS info (device loop8): forced readonly BTRFS error (device loop8): allocation failed flags 12, wanted 4096 tree-log 0, relocation: 0 BTRFS info (device loop8): space_info 5 has 2232320 free, is full BTRFS info (device loop8): space_info total=3276800, used=61440, pinned=0, reserved=8192, may_use=974848, readonly=0 zone_unusable=0 BTRFS info (device loop8): global_block_rsv: size 851968 reserved 847872 BTRFS info (device loop8): trans_block_rsv: size 0 reserved 0 BTRFS info (device loop8): chunk_block_rsv: size 0 reserved 0 BTRFS info (device loop8): delayed_block_rsv: size 32768 reserved 32768 BTRFS info (device loop8): delayed_refs_rsv: size 458752 reserved 90112 BTRFS info (device loop8): block group 5242880 has 1638400 bytes, 61440 used 0 pinned 8192 reserved 0 zone_unusable BTRFS critical (device loop8): entry offset 5259264, bytes 8192, bitmap no BTRFS critical (device loop8): entry offset 5271552, bytes 4096, bitmap no BTRFS critical (device loop8): entry offset 5324800, bytes 1556480, bitmap no BTRFS info (device loop8): block group has cluster?: no BTRFS info (device loop8): 3 blocks of free space at or bigger than bytes is BTRFS info (device loop8): block group 6881280 has 1638400 bytes, 0 used 0 pinned 0 reserved 0 zone_unusable BTRFS critical (device loop8): entry offset 6881280, bytes 1638400, bitmap no BTRFS info (device loop8): block group has cluster?: no BTRFS info (device loop8): 1 blocks of free space at or bigger than bytes is BTRFS: error (device loop8) in btrfs_create_pending_block_groups:2448: errno=-28 No space left BTRFS error (device loop8): allocation failed flags 12, wanted 4096 tree-log 0, relocation: 0 BTRFS info (device loop8): space_info 5 has 2228224 free, is full BTRFS info (device loop8): space_info total=3276800, used=61440, pinned=0, reserved=8192, may_use=978944, readonly=0 zone_unusable=0 BTRFS info (device loop8): global_block_rsv: size 851968 reserved 851968 BTRFS info (device loop8): trans_block_rsv: size 0 reserved 0 BTRFS info (device loop8): chunk_block_rsv: size 0 reserved 0 BTRFS info (device loop8): delayed_block_rsv: size 32768 reserved 32768 BTRFS info (device loop8): delayed_refs_rsv: size 458752 reserved 90112 BTRFS info (device loop8): block group 5242880 has 1638400 bytes, 61440 used 0 pinned 8192 reserved 0 zone_unusable BTRFS critical (device loop8): entry offset 5259264, bytes 8192, bitmap no BTRFS critical (device loop8): entry offset 5271552, bytes 4096, bitmap no BTRFS critical (device loop8): entry offset 5324800, bytes 1556480, bitmap no BTRFS info (device loop8): block group has cluster?: no BTRFS info (device loop8): 3 blocks of free space at or bigger than bytes is BTRFS info (device loop8): block group 6881280 has 1638400 bytes, 0 used 0 pinned 0 reserved 0 zone_unusable BTRFS critical (device loop8): entry offset 6881280, bytes 1638400, bitmap no BTRFS info (device loop8): block group has cluster?: no BTRFS info (device loop8): 1 blocks of free space at or bigger than bytes is BTRFS: error (device loop8) in add_block_group_free_space:1315: errno=-28 No space left BTRFS info (device loop8): balance: ended with status: -30