syzbot


WARNING in btrfs_mark_ordered_io_finished

Status: auto-obsoleted due to no activity on 2023/08/14 09:28
Subsystems: btrfs
[Documentation on labels]
Reported-by: syzbot+049b5ea03bae9d6acc9b@syzkaller.appspotmail.com
First crash: 458d, last: 458d
Discussions (1)
Title Replies (including bot) Last reply
[syzbot] [btrfs?] WARNING in btrfs_mark_ordered_io_finished 0 (1) 2023/04/20 09:36

Sample crash report:
------------[ cut here ]------------
WARNING: CPU: 1 PID: 1070 at fs/btrfs/ordered-data.c:388 btrfs_mark_ordered_io_finished+0x993/0xcf0
Modules linked in:
CPU: 1 PID: 1070 Comm: kworker/u4:5 Not tainted 6.3.0-rc6-syzkaller-00183-ga7a55e27ad72 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/30/2023
Workqueue: events_unbound btrfs_async_reclaim_metadata_space
RIP: 0010:btrfs_mark_ordered_io_finished+0x993/0xcf0 fs/btrfs/ordered-data.c:388
Code: f8 ff ff e8 af 8a fe fd 48 c7 c7 80 45 2a 8b 48 c7 c6 e0 43 2a 8b ba 71 01 00 00 e8 c7 fe 10 07 e9 06 fd ff ff e8 8d 8a fe fd <0f> 0b 48 8b 84 24 a0 00 00 00 42 80 3c 28 00 4c 8b 7c 24 68 74 0a
RSP: 0018:ffffc90005cfee98 EFLAGS: 00010093
RAX: ffffffff838bec33 RBX: 00000000000ca000 RCX: ffff8880212a1d40
RDX: 0000000000000000 RSI: 00000000000ca000 RDI: 0000000000085000
RBP: fffffffffffbb000 R08: ffffffff838be9b7 R09: 0000000000000003
R10: ffffffffffffffff R11: dffffc0000000001 R12: 1ffff110048753ad
R13: dffffc0000000000 R14: 0000000000002000 R15: 00000000000ca000
FS:  0000000000000000(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000001b32025000 CR3: 000000002ec18000 CR4: 00000000003506e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <TASK>
 btrfs_run_delalloc_range+0xee2/0x11d0 fs/btrfs/inode.c:2258
 writepage_delalloc+0x261/0x590 fs/btrfs/extent_io.c:1424
 __extent_writepage+0x850/0x16d0 fs/btrfs/extent_io.c:1724
 extent_write_cache_pages fs/btrfs/extent_io.c:2635 [inline]
 extent_writepages+0xc31/0x1930 fs/btrfs/extent_io.c:2755
 do_writepages+0x3a6/0x670 mm/page-writeback.c:2551
 filemap_fdatawrite_wbc+0x125/0x180 mm/filemap.c:390
 start_delalloc_inodes+0x7e1/0xcb0 fs/btrfs/inode.c:9287
 btrfs_start_delalloc_roots+0x745/0xab0 fs/btrfs/inode.c:9366
 shrink_delalloc fs/btrfs/space-info.c:611 [inline]
 flush_space+0x61d/0xe30 fs/btrfs/space-info.c:719
 btrfs_async_reclaim_metadata_space+0x29f/0x350 fs/btrfs/space-info.c:1066
 process_one_work+0x8a0/0x10e0 kernel/workqueue.c:2390
 worker_thread+0xa63/0x1210 kernel/workqueue.c:2537
 kthread+0x270/0x300 kernel/kthread.c:376
 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:308
 </TASK>

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2023/04/16 09:28 upstream a7a55e27ad72 ec410564 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in btrfs_mark_ordered_io_finished
* Struck through repros no longer work on HEAD.