[Virtio-fs] [PATCH v4 0/8] fuse,virtiofs: support per-file DAX

Miklos Szeredi miklos at szeredi.hu
Wed Aug 18 05:08:24 UTC 2021


On Wed, 18 Aug 2021 at 05:40, JeffleXu <jefflexu at linux.alibaba.com> wrote:

> I'm not sure if I fully understand your idea. Then in this case, host
> daemon only prepares 4KB while guest thinks that the whole DAX window
> (e.g., 2MB) has been fully mapped. Then when guest really accesses the
> remained part (2MB - 4KB), page fault is triggered, and now host daemon
> is responsible for downloading the remained part?

Yes.  Mapping an area just means setting up the page tables, it does
not result in actual data transfer.

Thanks,
Miklos




More information about the Virtio-fs mailing list