BTRFS error (device loop1): failed to run delayed ref for logical 5316608 num_bytes 4096 type 176 action 1 ref_mod 1: -28 ------------[ cut here ]------------ BTRFS: Transaction aborted (error -28) WARNING: CPU: 0 PID: 2425 at fs/btrfs/extent-tree.c:2161 btrfs_run_delayed_refs+0x495/0x510 fs/btrfs/extent-tree.c:2161 Modules linked in: CPU: 0 PID: 2425 Comm: kworker/u4:8 Not tainted 6.6.0-rc1-next-20230911-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/04/2023 Workqueue: events_unbound btrfs_async_reclaim_metadata_space RIP: 0010:btrfs_run_delayed_refs+0x495/0x510 fs/btrfs/extent-tree.c:2161 Code: c7 c6 00 f5 d5 8a e8 da 73 29 00 eb b4 e8 13 5c 6b fe e9 f5 fb ff ff e8 a9 90 15 fe 89 de 48 c7 c7 a0 f4 d5 8a e8 6b a6 db fd <0f> 0b eb 93 48 8b 7c 24 20 e8 2d 5c 6b fe e9 58 fd ff ff 48 8b 7c RSP: 0018:ffffc9000a5ffa88 EFLAGS: 00010286 RAX: 0000000000000000 RBX: 00000000ffffffe4 RCX: 0000000000000000 RDX: ffff8880257a3b80 RSI: ffffffff814e0216 RDI: 0000000000000001 RBP: 0000000000000001 R08: 0000000000000001 R09: 0000000000000000 R10: 0000000000000001 R11: 0000000000000001 R12: ffff8880783fd348 R13: 0000000000000000 R14: ffff88807b2e2000 R15: ffff888028249000 FS: 0000000000000000(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fdc6fd9d988 CR3: 0000000029fdf000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: flush_space+0x86c/0xe30 fs/btrfs/space-info.c:755 btrfs_async_reclaim_metadata_space+0x51c/0xa90 fs/btrfs/space-info.c:1069 process_one_work+0x887/0x15d0 kernel/workqueue.c:2630 process_scheduled_works kernel/workqueue.c:2703 [inline] worker_thread+0x8bb/0x1290 kernel/workqueue.c:2784 kthread+0x33a/0x430 kernel/kthread.c:388 ret_from_fork+0x45/0x80 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x11/0x20 arch/x86/entry/entry_64.S:304