With the current, simplistic implementation of DAX window support, the
window only hosts one file mapping at a time. These patches rectify
that, implementing an initial DAX window manager which handles multiple
file mappings. This way, the DAX window functions as a cache for
virtio-fs file systems.

Changes since v1:
- Made the dax_manager:virtio-fs device relation 1:1 (previously it was
  1:1 with a mount, so mounting a device multiple times would not work).
- Renamed virtiofs_mount_data.dax to virtiofs_mount_data.dax_mgr for
  clarity.

Fotis Xenakis (2):
  virtio-fs: implement dax window manager
  virtio-fs: use multiple dax mappings in filesystem

 Makefile                       |  39 ++---
 drivers/virtio-fs.hh           |  11 +-
 fs/virtiofs/virtiofs.hh        |  21 ++-
 fs/virtiofs/virtiofs_dax.cc    | 268 +++++++++++++++++++++++++++++++++
 fs/virtiofs/virtiofs_dax.hh    | 109 ++++++++++++++
 fs/virtiofs/virtiofs_i.hh      |   3 -
 fs/virtiofs/virtiofs_vfsops.cc |  53 ++++++-
 fs/virtiofs/virtiofs_vnops.cc  | 151 +++----------------
 8 files changed, 497 insertions(+), 158 deletions(-)
 create mode 100644 fs/virtiofs/virtiofs_dax.cc
 create mode 100644 fs/virtiofs/virtiofs_dax.hh

-- 
2.27.0

-- 
You received this message because you are subscribed to the Google Groups "OSv 
Development" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/osv-dev/AM0PR03MB6292FB7F284E5205AAC937FEA6960%40AM0PR03MB6292.eurprd03.prod.outlook.com.

Reply via email to