================================================================== BUG: KCSAN: data-race in ext4_setattr / mpage_process_page_bufs write to 0xffff8880b5120ab8 of 8 bytes by task 12557 on cpu 0: i_size_write include/linux/fs.h:888 [inline] ext4_setattr+0xca8/0x15a0 fs/ext4/inode.c:5642 notify_change+0x7e1/0xaa0 fs/attr.c:337 do_truncate+0xfb/0x180 fs/open.c:64 handle_truncate fs/namei.c:2998 [inline] do_last fs/namei.c:3414 [inline] path_openat+0x2f48/0x36e0 fs/namei.c:3525 do_filp_open+0x11e/0x1b0 fs/namei.c:3555 do_sys_open+0x3b3/0x4f0 fs/open.c:1097 __do_sys_openat fs/open.c:1124 [inline] __se_sys_openat fs/open.c:1118 [inline] __x64_sys_openat+0x62/0x80 fs/open.c:1118 do_syscall_64+0xcc/0x370 arch/x86/entry/common.c:290 entry_SYSCALL_64_after_hwframe+0x44/0xa9 read to 0xffff8880b5120ab8 of 8 bytes by task 8010 on cpu 1: mpage_process_page_bufs+0x40/0x400 fs/ext4/inode.c:2314 mpage_prepare_extent_to_map+0x48b/0x760 fs/ext4/inode.c:2694 ext4_writepages+0xb2b/0x2300 fs/ext4/inode.c:2866 do_writepages+0x6b/0x170 mm/page-writeback.c:2344 __writeback_single_inode+0xaf/0x8e0 fs/fs-writeback.c:1452 writeback_sb_inodes+0x4ba/0xa50 fs/fs-writeback.c:1716 __writeback_inodes_wb+0xe8/0x1b0 fs/fs-writeback.c:1785 wb_writeback+0x557/0x6a0 fs/fs-writeback.c:1894 wb_check_background_flush fs/fs-writeback.c:1962 [inline] wb_do_writeback fs/fs-writeback.c:2050 [inline] wb_workfn+0x696/0x970 fs/fs-writeback.c:2078 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: 1 PID: 8010 Comm: kworker/u4:5 Not tainted 5.4.0-rc7+ #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Workqueue: writeback wb_workfn (flush-8:0) ==================================================================