BTRFS info (device loop0): balance: start -d -m BTRFS info (device loop0): relocating block group 6881280 flags data|metadata BTRFS info (device loop0): relocating block group 5242880 flags data|metadata BTRFS warning (device loop0): Skipping commit of aborted transaction. ------------[ cut here ]------------ btrfs_abort_should_print_stack(__error) WARNING: fs/btrfs/transaction.c:2089 at cleanup_transaction+0x721/0x7b0 fs/btrfs/transaction.c:2089, CPU#0: syz.0.0/5355 Modules linked in: CPU: 0 UID: 0 PID: 5355 Comm: syz.0.0 Not tainted syzkaller #0 PREEMPT(full) Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014 RIP: 0010:cleanup_transaction+0x721/0x7b0 fs/btrfs/transaction.c:2089 Code: 08 74 1a 41 83 fc fb 74 0d 41 83 fc f4 75 15 e8 75 4e a0 fd eb 17 e8 6e 4e a0 fd eb 10 e8 67 4e a0 fd eb 09 e8 60 4e a0 fd 90 <0f> 0b 90 41 f7 dc e9 4a fa ff ff 44 89 e9 80 e1 07 80 c1 03 38 c1 RSP: 0018:ffffc9000e5ef440 EFLAGS: 00010287 RAX: ffffffff8428d340 RBX: ffff8880411e4000 RCX: 0000000000100000 RDX: ffffc90020001000 RSI: 0000000000020886 RDI: 0000000000020887 RBP: ffffc9000e5ef570 R08: ffff888036dfa580 R09: 0000000000000003 R10: 00000000fffffffb R11: 0000000000000002 R12: 00000000ffffffe4 R13: ffff8880470c8eb0 R14: ffff8880470c8f10 R15: dffffc0000000000 FS: 00007fd98e59f6c0(0000) GS:ffff88808aa01000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fd98e57dfe8 CR3: 0000000023f60000 CR4: 0000000000352ef0 Call Trace: btrfs_commit_transaction+0x253c/0x3010 fs/btrfs/transaction.c:2685 prepare_to_relocate+0x3be/0x4c0 fs/btrfs/relocation.c:3605 relocate_block_group+0x140/0xea0 fs/btrfs/relocation.c:3630 do_nonremap_reloc+0xa7/0x560 fs/btrfs/relocation.c:5388 btrfs_relocate_block_group+0x6dd/0xaf0 fs/btrfs/relocation.c:5555 btrfs_relocate_chunk+0x114/0x810 fs/btrfs/volumes.c:3762 __btrfs_balance+0x1b5f/0x29d0 fs/btrfs/volumes.c:4701 btrfs_balance+0xaa6/0x1180 fs/btrfs/volumes.c:5088 btrfs_ioctl_balance+0x3da/0x640 fs/btrfs/ioctl.c:3494 vfs_ioctl fs/ioctl.c:51 [inline] __do_sys_ioctl fs/ioctl.c:597 [inline] __se_sys_ioctl+0xfc/0x170 fs/ioctl.c:583 do_syscall_x64 arch/x86/entry/syscall_64.c:61 [inline] do_syscall_64+0x166/0x520 arch/x86/entry/syscall_64.c:84 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7fd98d79fb19 Code: ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 00 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 e8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007fd98e59efe8 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 00007fd98da26090 RCX: 00007fd98d79fb19 RDX: 000020000000ca40 RSI: 00000000c4009420 RDI: 0000000000000007 RBP: 00007fd98d837af8 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007fd98da26128 R14: 00007fd98da26090 R15: 00007ffda9e2acb8