Re: [PATCH 00/20] virtiofs: Add DAX support

From: Patrick Ohly
Date: Tue Mar 17 2020 - 04:28:33 EST


Vivek Goyal <vgoyal@xxxxxxxxxx> writes:
> We expect users will issue fsync/msync like a regular filesystem to
> make changes persistent. So in that aspect, rejecting MAP_SYNC
> makes sense. I will test and see if current code is rejecting MAP_SYNC
> or not.

Last time I checked, it did. Here's the test program that I wrote for
that:
https://github.com/intel/pmem-csi/blob/ee3200794a1ade49a02df6f359a134115b409e90/test/cmd/pmem-dax-check/main.go

--
Best Regards

Patrick Ohly