================================================================== BUG: KCSAN: data-race in wbc_attach_and_unlock_inode / wbc_detach_inode write to 0xffff8880ba10fa88 of 4 bytes by task 23825 on cpu 0: wbc_detach_inode+0x24e/0x550 fs/fs-writeback.c:701 __filemap_fdatawrite_range+0x1d4/0x230 mm/filemap.c:421 filemap_write_and_wait_range mm/filemap.c:680 [inline] filemap_write_and_wait_range+0xb1/0x150 mm/filemap.c:674 generic_file_read_iter+0x1015/0x1440 mm/filemap.c:2293 ext4_file_read_iter fs/ext4/file.c:77 [inline] ext4_file_read_iter+0xfa/0x240 fs/ext4/file.c:65 call_read_iter include/linux/fs.h:1889 [inline] generic_file_splice_read+0x35c/0x500 fs/splice.c:307 do_splice_to+0xf2/0x130 fs/splice.c:877 splice_direct_to_actor+0x1a1/0x510 fs/splice.c:954 do_splice_direct+0x161/0x1e0 fs/splice.c:1063 do_sendfile+0x384/0x7f0 fs/read_write.c:1464 __do_sys_sendfile64 fs/read_write.c:1525 [inline] __se_sys_sendfile64 fs/read_write.c:1511 [inline] __x64_sys_sendfile64+0x12a/0x140 fs/read_write.c:1511 do_syscall_64+0xcc/0x370 arch/x86/entry/common.c:290 entry_SYSCALL_64_after_hwframe+0x44/0xa9 read to 0xffff8880ba10fa88 of 4 bytes by task 2643 on cpu 1: wbc_attach_and_unlock_inode+0x1c7/0x390 fs/fs-writeback.c:569 writeback_sb_inodes+0x3a0/0xa50 fs/fs-writeback.c:1703 __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: 1 PID: 2643 Comm: kworker/u4:4 Not tainted 5.4.0-rc3+ #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Workqueue: writeback wb_workfn (flush-8:0) ==================================================================