BTRFS error (device loop0): allocation failed flags 12, wanted 4096 tree-log 0, relocation: 0 BTRFS info (device loop0): space_info DATA+METADATA (sub-group id 0) has 4096000 free, is full BTRFS info (device loop0): space_info total=11534336, used=2211840, pinned=4096, reserved=208896, may_use=5013504, readonly=0 zone_unusable=0 BTRFS info (device loop0): global_block_rsv: size 983040 reserved 983040 BTRFS info (device loop0): trans_block_rsv: size 0 reserved 0 BTRFS info (device loop0): chunk_block_rsv: size 0 reserved 0 BTRFS info (device loop0): remap_block_rsv: size 0 reserved 0 BTRFS info (device loop0): delayed_block_rsv: size 131072 reserved 131072 BTRFS info (device loop0): delayed_refs_rsv: size 3735552 reserved 3735552 BTRFS info (device loop0): block group 5242880 has 1638400 bytes, 1568768 used 0 pinned 4096 reserved 0 delalloc 0 super 0 zone_unusable (65536 bytes available) BTRFS critical (device loop0): entry offset 5255168, bytes 4096, bitmap no BTRFS critical (device loop0): entry offset 5267456, bytes 4096, bitmap no BTRFS critical (device loop0): entry offset 5308416, bytes 8192, bitmap no BTRFS critical (device loop0): entry offset 5328896, bytes 4096, bitmap no BTRFS critical (device loop0): entry offset 5365760, bytes 12288, bitmap no BTRFS critical (device loop0): entry offset 5382144, bytes 8192, bitmap no BTRFS critical (device loop0): entry offset 5398528, bytes 4096, bitmap no BTRFS critical (device loop0): entry offset 5517312, bytes 4096, bitmap no BTRFS critical (device loop0): entry offset 5582848, bytes 8192, bitmap no BTRFS critical (device loop0): entry offset 5738496, bytes 4096, bitmap no BTRFS critical (device loop0): entry offset 5779456, bytes 4096, bitmap no BTRFS info (device loop0): block group has cluster?: no BTRFS info (device loop0): 11 free space entries at or bigger than 4096 bytes BTRFS info (device loop0): block group 6881280 has 1638400 bytes, 643072 used 4096 pinned 204800 reserved 4096 delalloc 0 super 0 zone_unusable (786432 bytes available) BTRFS critical (device loop0): entry offset 7733248, bytes 786432, bitmap no BTRFS info (device loop0): block group has cluster?: no BTRFS info (device loop0): 1 free space entries at or bigger than 4096 bytes BTRFS info (device loop0): block group 8519680 has 8257536 bytes, 0 used 0 pinned 0 reserved 0 delalloc 0 super 0 zone_unusable (8257536 bytes available) BTRFS critical (device loop0): entry offset 8519680, bytes 8257536, bitmap no BTRFS info (device loop0): block group has cluster?: no BTRFS info (device loop0): 1 free space entries at or bigger than 4096 bytes BTRFS info (device loop0): 9109504 bytes available across all block groups ------------[ cut here ]------------ btrfs_abort_should_print_stack(__error) WARNING: fs/btrfs/inode.c:3329 at btrfs_finish_one_ordered+0x1e90/0x1f00 fs/btrfs/inode.c:3329, CPU#0: kworker/u4:9/1133 Modules linked in: CPU: 0 UID: 0 PID: 1133 Comm: kworker/u4:9 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 Workqueue: btrfs-endio-write btrfs_work_helper RIP: 0010:btrfs_finish_one_ordered+0x1e90/0x1f00 fs/btrfs/inode.c:3329 Code: 66 84 ac fd 90 0f 0b 90 48 8b 44 24 10 89 c1 f7 d9 e9 cd fb ff ff e8 4f 84 ac fd eb 10 e8 48 84 ac fd eb 09 e8 41 84 ac fd 90 <0f> 0b 90 48 8b 44 24 10 89 c1 f7 d9 e9 23 fc ff ff e8 2a 84 ac fd RSP: 0018:ffffc90001a4f860 EFLAGS: 00010293 RAX: ffffffff841b68cf RBX: 00000000ffffffe4 RCX: ffff88803378a580 RDX: 0000000000000000 RSI: ffffffff8f3ddcb0 RDI: 00000000ffffffe4 RBP: ffffc90001a4fa30 R08: ffff88803378a580 R09: 0000000000000003 R10: 00000000fffffffb R11: 0000000000000000 R12: 0000000000000000 R13: ffff888043e64ad0 R14: ffff8880132727b8 R15: 1ffff11003869a2b FS: 0000000000000000(0000) GS:ffff88808c2c0000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f3e65e2aab0 CR3: 0000000040684000 CR4: 0000000000352ef0 Call Trace: btrfs_work_helper+0x3a2/0xc50 fs/btrfs/async-thread.c:312 process_one_work kernel/workqueue.c:3396 [inline] process_scheduled_works+0xc3d/0x1630 kernel/workqueue.c:3479 worker_thread+0xa47/0xfb0 kernel/workqueue.c:3560 kthread+0x38b/0x480 kernel/kthread.c:436 ret_from_fork+0x514/0xb70 arch/x86/kernel/process.c:158 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:245