Not logged in
Log in now
Create an account
Subscribe to LWN
LWN.net Weekly Edition for May 23, 2013
An "enum" for Python 3
An unexpected perf feature
LWN.net Weekly Edition for May 16, 2013
A look at the PyPy 2.0 release
Linux kernel design patterns - part 3
Posted Jul 9, 2009 11:04 UTC (Thu) by johill (subscriber, #25196)
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 © 2013, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds