login
Header Space

 
 

Re: HAMMER filesystem update - design document

Score:
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: <kernel@...>
Date: Thursday, October 11, 2007 - 4:18 am

This post by Matt went off-list, but I think should go to the list as well.

:Interesting. What exactly are those database files used for? Is a
:database file attached to each file to store ACLs, for example? Or can
:it be used like btree(3)? Do they have their own namespace in the
:filesystem?
:
:Wow! I a am really looking forward to try out HAMMER!!!
:
:Regards,
:
:   Michael

     Because HAMMER uses a B-Tree (maybe a B+Tree the more I look at it)..
     in anycase, because HAMMER uses a B-Tree all lookups are basically
     key searches, even when looking up an offset in a file.  Since B-Tree
     elements specify records which can reference variable-length data,
     there really is very little difference between a database record
     indexed with a key and regular file data indexed with an offset.

     Records are typed so any given filesystem object can contain multiple
     key spaces.  One space will hold ACLs, one will be for regular file
     offsets, and there's nothing preventing us from having a key space
     directly accessible by userland.

     A HAMMER-aware database would be able to store its records using the
     key space directly.  It opens up some intriguing possibilities.

					    -Matt
					    Matthew Dillon
					    <dillon@backplane.com>
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
HAMMER filesystem update - design document, Matthew Dillon, (Wed Oct 10, 3:33 pm)
Re: HAMMER filesystem update - design document, Thomas Zander, (Sat Oct 13, 1:24 pm)
Re: HAMMER filesystem update - design document, Francois Tigeot, (Thu Oct 11, 3:22 am)
Re: HAMMER filesystem update - design document, Bill Hacker, (Thu Oct 11, 4:38 am)
Re: HAMMER filesystem update - design document, Michael Neumann, (Thu Oct 11, 3:55 am)
Re: HAMMER filesystem update - design document, Thomas E. Spanjaard, (Thu Oct 11, 2:04 am)
Re: HAMMER filesystem update - design document, Michael Neumann, (Wed Oct 10, 7:12 pm)
Re: HAMMER filesystem update - design document, Michael Neumann, (Thu Oct 11, 4:18 am)
Re: HAMMER filesystem update - design document, Bill Hacker, (Thu Oct 11, 4:49 am)
Re: HAMMER filesystem update - design document, Bill Hacker, (Wed Oct 10, 4:30 pm)
speck-geostationary