[Ocfs2-tools-devel] [PATCH 9/9] ocfs2-tools: add xattr support in tunefs.ocfs2

Tiger Yang tiger.yang at oracle.com
Wed Jan 7 21:41:03 PST 2009


Thanks Joel and Tao, I understand now. We have xattr value tree and 
xattr tree. After remove all value tree, I should remove the xattr 
tree(include bucket) by truncate_iterate.

Tiger

Joel Becker wrote:
> On Thu, Dec 25, 2008 at 02:06:03PM +0800, Tiger Yang wrote:
>> Joel Becker wrote:
>>> 	This removes the buckets, but it doesn't remove the extent
>>> blocks that make up the xattr index tree.  Those need to get removed.
>> That extent block be freed in remove_xattr_block() by  
>> ocfs2_delete_xattr_block().
> 
> 	I mean the intermediate extent blocks.
> ocfs2_delete_xattr_block() only seems to delete the topmost xattr block,
> not the ocfs2_extent_block structures that make up an indexed xattr
> tree.
> 
> Joel
> 



More information about the Ocfs2-tools-devel mailing list