Flist format rewrite #24
muhamadazmy
started this conversation in
General
Replies: 2 comments
-
rfs (and other tools) can now support creation of flists metadata. the tool then can also upload the chunks to the remote and distributed storage locations and build the routing table. |
Beta Was this translation helpful? Give feedback.
0 replies
-
Suggestion to name the new 0fs echo system (including the flist format) |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Write now the flist format was optimized for size of the flist, by using capnp encoding format but this caused the following:
But since we already using sqlite to store the data, we don't need the extra encoding layer from capanp instead we can normalize the inode information into the db in tables format. this will make querying, and traversing the filesystem much much faster and easier. This will also make modification of the flist metadata straight forward and can be implemented by other software or user tools.
Basics
The flist mainly contain information about the fiesystem, but not the file data itself. So all data stored in a filesystem
Inode
structure (this include size, type, mode, creation time, etc...) is stored. Another table that include the file blob information (mainly hash and encryption key)From experience with working with 0-fs it's obvious that the most efficient structure to work with a filesystem is to map the inode structure directly to your database
stat.st_mode
0x00
to0xFF
if all data exists on same data storeBeta Was this translation helpful? Give feedback.
All reactions