DragonFly kernel List (threaded) for 2007-02
DragonFly BSD
DragonFly kernel List (threaded) for 2007-02
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

Re: Initial filesystem design synopsis.


From: Matthew Dillon <dillon@xxxxxxxxxxxxxxxxxxxx>
Date: Mon, 26 Feb 2007 08:26:55 -0800 (PST)

:Hi, I was wondering if you'd considered making HAMMER endian neutral. I
:think that would be a very good thing.
:~Robert

     The answer is both yes and no.  It is clearly important to make the
     filesystem endian-neutral, which is accomplished by placing an endian
     control field in the segment header.  When the segment is created,
     the endianness would be set to the originating machine's endianness
     (the idea being that all operations would then use native endianness
     and any other accessors with incompatible endianess would be able to
     detect which endianess to use and translate accordingly).

     That is the yes part.  The no part is that I am not going to actually
     put in code to translate endianess, at least not initially.  Eventually,
     yes (and that could wind up being a little side project)... I think it's
     important.  But it also creates a mess so it won't be in the initial
     work.

					-Matt
					Matthew Dillon 
					<dillon@backplane.com>



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]