BTRFS error (device loop2): failed to run delayed ref for logical 9588736 num_bytes 4096 type 178 action 1 ref_mod 1: -28
------------[ cut here ]------------
BTRFS: Transaction aborted (error -28)
WARNING: fs/btrfs/extent-tree.c:2162 at btrfs_run_delayed_refs+0x30b/0x3a0, CPU#1: kworker/u10:3/993
Modules linked in:
CPU: 1 UID: 0 PID: 993 Comm: kworker/u10:3 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+0x30e/0x3a0
Code: 85 e4 75 07 e8 b3 6a f0 fd eb 7a e8 dc 28 d6 fd 84 c0 74 20 e8 a3 6a f0 fd eb 6a e8 9c 6a f0 fd 48 8d 3d 85 0f f9 0b 44 89 fe <67> 48 0f b9 3a e9 0b ff ff ff e8 f3 cd a2 07 41 89 c4 31 ff 89 c6
RSP: 0018:ffffc90007d2f4d8 EFLAGS: 00010293
RAX: ffffffff83d20654 RBX: ffff8881bc24ccb8 RCX: ffff88816ab53a80
RDX: 0000000000000000 RSI: 00000000ffffffe4 RDI: ffffffff8fcb15e0
RBP: 0000000000000000 R08: ffff88816ab53a80 R09: 0000000000000003
R10: 00000000fffffffb R11: 0000000000000000 R12: ffff88801cc8c001
R13: ffff88802101e000 R14: dffffc0000000000 R15: 00000000ffffffe4
FS:  0000000000000000(0000) GS:ffff8882a9a0f000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000001b312f4ff8 CR3: 000000010cf60000 CR4: 00000000000006f0
Call Trace:
 <TASK>
 btrfs_commit_transaction+0x2b1/0x3c50
 flush_space+0x4da/0xd30
 do_async_reclaim_data_space+0x29a/0x520
 btrfs_async_reclaim_data_space+0x41/0x90
 process_scheduled_works+0xaec/0x17a0
 worker_thread+0x89f/0xd90
 kthread+0x726/0x8b0
 ret_from_fork+0x51b/0xa40
 ret_from_fork_asm+0x1a/0x30
 </TASK>
