I'm trying to understand the difference between o_direct flag of open system call and dax (direct access) with ext4 filesystem.
According to my understanding both bypass page cache.
But I'm still unclear about the crucial difference between these 2 techniques. If there is a huge difference then what does it mean to use o_direct flag with DAX? Can anyone please explain about this in detail?
NOTE: Here I have partitioned a pmem device on top of DRAM using memmap parameter.