Remember that exofs actually keeps a "filesystem" in the object storage. So for example for a directory, it kinda stores this file:
| * bar: 12
| * baz: 13
and 12/13 are handles to other objects. So to write a host filesystem, you'd have to write an OSD responder that creates those "directory files" on the fly based on the filesystem. Then you get races if the guest and host both modify a directory at the same time, you'd have to cache what you last told the guest, and then see what modifications it made, to apply those modifications to the filesystem.
All in all, I think a different protocol would be much easier.
Copyright © 2017, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds