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.

Please note that the manager's lifetime matches a mount's lifetime,
which means multiple mounts of the same device will *NOT* work (also see
note added in the mount operation in the second patch). I have not yet
come up with an elegant alternative to this. If this (no multiple
mounts) is not acceptable, I will try to switch to an alternative (might
not be elegant). Any suggestions on this matter is of course welcome and
appreciated!

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

 Makefile                       |  39 ++---
 drivers/virtio-fs.hh           |   2 +-
 fs/virtiofs/virtiofs.hh        |  19 ++-
 fs/virtiofs/virtiofs_dax.cc    | 268 +++++++++++++++++++++++++++++++++
 fs/virtiofs/virtiofs_dax.hh    | 109 ++++++++++++++
 fs/virtiofs/virtiofs_i.hh      |   3 -
 fs/virtiofs/virtiofs_vfsops.cc |  37 ++++-
 fs/virtiofs/virtiofs_vnops.cc  | 151 +++----------------
 8 files changed, 470 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/AM0PR03MB6292A4CCC483934FBE2CE924A6980%40AM0PR03MB6292.eurprd03.prod.outlook.com.

Reply via email to