bisecting fixing commit since f8fbb47c6e86c0b75f8df864db702c3e3f757361 building syzkaller on 3fd2ea69e05557e7e0fef9b68263b4150670671c testing commit f8fbb47c6e86c0b75f8df864db702c3e3f757361 compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: 7820ecaf4fd4fd64f5282a9c070548b3df9a2ee8a328ae50b99e167b38468aa1 all runs: crashed: WARNING in __set_page_dirty testing current HEAD 8008293888188c3923f5bd8a69370dae25ed14e5 testing commit 8008293888188c3923f5bd8a69370dae25ed14e5 compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: fe664fc91987a1a2f7fdcc4719c41a313b86d3429efc57a4b8e3d2fd9ef1b1f6 all runs: crashed: WARNING in __folio_mark_dirty revisions tested: 2, total time: 18m55.430784096s (build: 12m27.327090953s, test: 5m46.576220364s) the crash still happens on HEAD commit msg: mm: vmscan: reduce throttling due to a failure to make progress -fix crash: WARNING in __folio_mark_dirty ------------[ cut here ]------------ WARNING: CPU: 1 PID: 3974 at include/linux/backing-dev.h:269 inode_to_wb include/linux/backing-dev.h:269 [inline] WARNING: CPU: 1 PID: 3974 at include/linux/backing-dev.h:269 folio_account_dirtied mm/page-writeback.c:2460 [inline] WARNING: CPU: 1 PID: 3974 at include/linux/backing-dev.h:269 __folio_mark_dirty+0x82b/0xb80 mm/page-writeback.c:2509 Modules linked in: CPU: 1 PID: 3974 Comm: segctord Not tainted 5.16.0-rc7-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:inode_to_wb include/linux/backing-dev.h:269 [inline] RIP: 0010:folio_account_dirtied mm/page-writeback.c:2460 [inline] RIP: 0010:__folio_mark_dirty+0x82b/0xb80 mm/page-writeback.c:2509 Code: 03 00 00 48 8b 83 a8 01 00 00 be ff ff ff ff 4c 89 44 24 08 48 8d 78 70 e8 b2 5a e8 06 4c 8b 44 24 08 85 c0 0f 85 61 fb ff ff <0f> 0b e9 5a fb ff ff e8 d9 5b e8 06 85 c0 0f 84 2d ff ff ff 80 3d RSP: 0018:ffffc9000280f8e0 EFLAGS: 00010046 RAX: 0000000000000000 RBX: ffff88806d268378 RCX: 0000000000000001 RDX: 0000000000000000 RSI: ffffffff88cb5780 RDI: ffffffff89216560 RBP: ffffea000192f3c0 R08: ffff88806d268520 R09: ffffea000192f3c7 R10: fffff94000325e78 R11: 0000000000000008 R12: 0000000000000282 R13: ffff88806d268138 R14: 0000000000000001 R15: 0000000000000001 FS: 0000000000000000(0000) GS:ffff8880b9f00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fff5675fe58 CR3: 00000000171d4000 CR4: 0000000000350ee0 Call Trace: __set_page_dirty include/linux/pagemap.h:882 [inline] mark_buffer_dirty+0x322/0x420 fs/buffer.c:1108 nilfs_btree_propagate_p fs/nilfs2/btree.c:1889 [inline] nilfs_btree_propagate+0x3f4/0xc80 fs/nilfs2/btree.c:2085 nilfs_bmap_propagate+0x6e/0x150 fs/nilfs2/bmap.c:337 nilfs_collect_dat_data+0x3f/0xa0 fs/nilfs2/segment.c:625 nilfs_segctor_apply_buffers+0x156/0x3f0 fs/nilfs2/segment.c:1009 nilfs_segctor_scan_file+0x35a/0x6c0 fs/nilfs2/segment.c:1058 nilfs_segctor_collect_blocks fs/nilfs2/segment.c:1224 [inline] nilfs_segctor_collect fs/nilfs2/segment.c:1494 [inline] nilfs_segctor_do_construct+0x1378/0x6110 fs/nilfs2/segment.c:2036 nilfs_segctor_construct+0x637/0x940 fs/nilfs2/segment.c:2372 nilfs_segctor_thread_construct fs/nilfs2/segment.c:2480 [inline] nilfs_segctor_thread+0x36d/0xda0 fs/nilfs2/segment.c:2563 kthread+0x3ab/0x480 kernel/kthread.c:327 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:295