[Ocfs2-devel] [PATCH 08/15] ocfs2: Add extended attribute support v2

Mark Fasheh mfasheh at suse.com
Thu Jul 17 11:11:03 PDT 2008


On Thu, Jul 17, 2008 at 05:39:01PM +0800, Tiger Yang wrote:
> Do we really need take space(32 bytes) in superblock to store this hash 
> value? For the space in superblock is very precious.

No, we don't need 32 bytes. We need to only use 32 *bits*. Mkfs.ocfs2 should
calculate the seed value as you already do in kernel and store it there.
That way uuid can change, but the hash stays the same, ensuring that we'll
be able to find xattrs on a volume that has been dd'd or snapshotted.
	--Mark

--
Mark Fasheh



More information about the Ocfs2-devel mailing list