BTRFS error (device loop0): failed to run delayed ref for logical 8617984 num_bytes 4096 type 178 action 1 ref_mod 1: -28
------------[ cut here ]------------
BTRFS: Transaction aborted (error -28)
WARNING: CPU: 0 PID: 1091 at fs/btrfs/extent-tree.c:2161 btrfs_run_delayed_refs+0x318/0x3b0 fs/btrfs/extent-tree.c:2161
Modules linked in:
CPU: 0 UID: 0 PID: 1091 Comm: kworker/u9:5 Not tainted syzkaller #0 PREEMPT(full) 
Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.2-debian-1.16.2-1 04/01/2014
Workqueue: events_unbound btrfs_async_reclaim_data_space
RIP: 0010:btrfs_run_delayed_refs+0x318/0x3b0 fs/btrfs/extent-tree.c:2161
Code: 80 00 00 00 e8 b9 52 df fd 84 c0 74 26 e8 10 07 f9 fd eb 70 e8 09 07 f9 fd 90 48 c7 c7 a0 bb ad 8b 44 89 fe e8 c9 21 bc fd 90 <0f> 0b 90 90 e9 02 ff ff ff e8 1a 78 80 07 41 89 c4 31 ff 89 c6 e8
RSP: 0018:ffffc90007d4f4b8 EFLAGS: 00010246
RAX: a35e51c742b57c00 RBX: ffff888020abfde0 RCX: ffff88810afe0000
RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000002
RBP: 0000000000000000 R08: 0000000000000003 R09: 0000000000000004
R10: dffffc0000000000 R11: fffffbfff1bba684 R12: ffff888103bf0001
R13: ffff8881157de000 R14: dffffc0000000000 R15: 00000000ffffffe4
FS:  0000000000000000(0000) GS:ffff88818eb36000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 000020000003f000 CR3: 0000000103bda000 CR4: 00000000000006f0
Call Trace:
 <TASK>
 btrfs_commit_transaction+0x269/0x3950 fs/btrfs/transaction.c:2211
 flush_space+0x48b/0xcd0 fs/btrfs/space-info.c:888
 do_async_reclaim_data_space+0x2a6/0x520 fs/btrfs/space-info.c:1410
 btrfs_async_reclaim_data_space+0x41/0x90 fs/btrfs/space-info.c:1458
 process_one_work kernel/workqueue.c:3263 [inline]
 process_scheduled_works+0xae1/0x17b0 kernel/workqueue.c:3346
 worker_thread+0x8a0/0xda0 kernel/workqueue.c:3427
 kthread+0x711/0x8a0 kernel/kthread.c:463
 ret_from_fork+0x4bc/0x870 arch/x86/kernel/process.c:158
 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:245
 </TASK>
