================================================================== BUG: KCSAN: data-race in blk_mq_get_request / blk_mq_get_request read to 0xffff88812a33a548 of 8 bytes by task 8141 on cpu 0: blk_mq_get_request+0x884/0xaf0 block/blk-mq.c:418 blk_mq_make_request+0x2d9/0xf60 block/blk-mq.c:1974 generic_make_request block/blk-core.c:1064 [inline] generic_make_request+0x196/0x740 block/blk-core.c:1006 submit_bio+0x96/0x3c0 block/blk-core.c:1190 submit_bh_wbc+0x40f/0x460 fs/buffer.c:3095 submit_bh fs/buffer.c:3101 [inline] __sync_dirty_buffer+0xd3/0x210 fs/buffer.c:3187 sync_dirty_buffer+0x24/0x40 fs/buffer.c:3200 __ext4_handle_dirty_metadata+0x19c/0x350 fs/ext4/ext4_jbd2.c:300 ext4_handle_dirty_dirblock+0x20a/0x280 fs/ext4/namei.c:404 add_dirent_to_buf+0x271/0x390 fs/ext4/namei.c:2026 ext4_add_entry+0x37b/0x8f0 fs/ext4/namei.c:2225 ext4_mkdir+0x515/0x820 fs/ext4/namei.c:2778 vfs_mkdir+0x283/0x390 fs/namei.c:3807 do_mkdirat+0x1ac/0x1f0 fs/namei.c:3830 __do_sys_mkdir fs/namei.c:3846 [inline] __se_sys_mkdir fs/namei.c:3844 [inline] __x64_sys_mkdir+0x40/0x50 fs/namei.c:3844 do_syscall_64+0xcc/0x370 arch/x86/entry/common.c:290 entry_SYSCALL_64_after_hwframe+0x44/0xa9 write to 0xffff88812a33a548 of 8 bytes by task 7933 on cpu 1: blk_mq_get_request+0x897/0xaf0 block/blk-mq.c:418 blk_mq_make_request+0x2d9/0xf60 block/blk-mq.c:1974 generic_make_request block/blk-core.c:1064 [inline] generic_make_request+0x196/0x740 block/blk-core.c:1006 submit_bio+0x96/0x3c0 block/blk-core.c:1190 submit_bio_wait+0xb8/0x100 block/bio.c:972 blkdev_issue_flush+0x163/0x1c0 block/blk-flush.c:459 ext4_sync_file+0x77c/0xb00 fs/ext4/fsync.c:157 vfs_fsync_range+0x82/0x150 fs/sync.c:197 generic_write_sync include/linux/fs.h:2853 [inline] ext4_file_write_iter+0x45b/0xa00 fs/ext4/file.c:279 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 Reported by Kernel Concurrency Sanitizer on: CPU: 1 PID: 7933 Comm: rs:main Q:Reg Not tainted 5.4.0-rc6+ #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 ==================================================================