[Ocfs2-devel] [PATCH 7/8] ocfs2: Add extended attributes support. v1

Mark Fasheh mfasheh at suse.com
Fri Jun 27 11:10:34 PDT 2008


On Fri, Jun 27, 2008 at 03:49:45PM +0800, Tiger Yang wrote:
> I split setting long value operation into two parts. First insert tree 
> root in local, if succeed then insert long value into B tree based on 
> that tree root. If hit problem in second step, we could only get that 
> junk tree root. This is harmless for system. but is it acceptable?

If the junk root is ignored, and eventually overwritten as more ea's get
inserted then I don't think you need to do any more.

If the junk root stays in the block and occupies space that would otherwise
be used, then we probably need to handle this.. I imagine a clever user
could DOS the xattr space by making large ones when the system is low on
free space...
	--Mark

--
Mark Fasheh



More information about the Ocfs2-devel mailing list