On Mon, 2018-09-10 at 08:54 -0400, Jeff Moyer wrote: > "Kani, Toshi" <toshi.kani@xxxxxxx> writes: > > > I noticed that both ext4_da_aops and ext4_dax_aops are used on DAX > > mounted ext4 files. Looking at open() path: > > Eek. How did you notice this? I tested sync path on DAX files to see if it flushes processor cache properly. Then I noticed that it sometimes does, but sometimes doesn't. Looking into function traces, I realized that ext4_dax_writepages() and ext4_writepages() are called depending on their file status. -Toshi