================================================================== BUG: KCSAN: data-race in __add_to_page_cache_locked / ext4_writepages write to 0xffff888125fc4b10 of 8 bytes by task 15434 on cpu 1: __add_to_page_cache_locked+0x298/0x780 mm/filemap.c:890 add_to_page_cache_lru+0xc4/0x260 mm/filemap.c:943 pagecache_get_page+0x2ac/0x6f0 mm/filemap.c:1682 grab_cache_page_write_begin+0x5d/0x90 mm/filemap.c:3255 ext4_da_write_begin+0x175/0x7e0 fs/ext4/inode.c:3063 generic_perform_write+0x136/0x320 mm/filemap.c:3305 __generic_file_write_iter+0x251/0x380 mm/filemap.c:3434 ext4_file_write_iter+0x1bd/0xa00 fs/ext4/file.c:268 call_write_iter include/linux/fs.h:1895 [inline] new_sync_write+0x388/0x4a0 fs/read_write.c:483 __vfs_write+0xb1/0xc0 fs/read_write.c:496 vfs_write fs/read_write.c:558 [inline] vfs_write+0x18a/0x390 fs/read_write.c:542 ksys_write+0xd5/0x1b0 fs/read_write.c:611 __do_sys_write fs/read_write.c:623 [inline] __se_sys_write fs/read_write.c:620 [inline] __x64_sys_write+0x4c/0x60 fs/read_write.c:620 do_syscall_64+0xcc/0x370 arch/x86/entry/common.c:290 entry_SYSCALL_64_after_hwframe+0x44/0xa9 read to 0xffff888125fc4b10 of 8 bytes by task 14522 on cpu 0: ext4_writepages+0x188/0x2300 fs/ext4/inode.c:2736 do_writepages+0x6b/0x170 mm/page-writeback.c:2344 __writeback_single_inode+0xaf/0x8e0 fs/fs-writeback.c:1449 writeback_sb_inodes+0x4ba/0xa50 fs/fs-writeback.c:1713 __writeback_inodes_wb+0xe8/0x1b0 fs/fs-writeback.c:1782 wb_writeback+0x557/0x6a0 fs/fs-writeback.c:1891 wb_check_background_flush fs/fs-writeback.c:1959 [inline] wb_do_writeback fs/fs-writeback.c:2047 [inline] wb_workfn+0x696/0x970 fs/fs-writeback.c:2075 process_one_work+0x3d4/0x890 kernel/workqueue.c:2269 worker_thread+0xa0/0x800 kernel/workqueue.c:2415 kthread+0x1d4/0x200 drivers/block/aoe/aoecmd.c:1253 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:352 Reported by Kernel Concurrency Sanitizer on: CPU: 0 PID: 14522 Comm: kworker/u4:2 Not tainted 5.4.0-rc6+ #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Workqueue: writeback wb_workfn (flush-8:0) ==================================================================