[Ocfs2-devel] [PATCH 0/5] ocfs2/xattr: transaction merge patch set. v3

Tao Ma tao.ma at oracle.com
Wed Nov 12 00:20:51 PST 2008


Hi all,
	In current ocfs2/xattr, the whole xattr set is divided into many steps 
are many transaction are used, this make the xattr set process isn't 
like a real transaction, so this patch try to merge all the transaction 
into one. Another benefit is that acl can use it easily now.

Modification from v2 to v3:
patch 2: set c_global_allocator to NULL after we free the cluster.

patch 4:
   1) initialize ocfs2_xattr_set_ctxt in a more efficient way.
   2) add one inline function ocfs2_dealloc_has_cluster so that we only 
flush truncate log when dealloc has clusters to free(Mark, you are free 
to change the name if it looks ugly. ;) ).

Mark,
	Since Joel and you have already reviewed this patch set, I'd like you 
to push these patches to merge_window now. So I can ask tristan to pull 
from your branch and do some test on this ASAP(actually I have already 
done some, but I'd like to hear the voice of the really testers :)). 
Another side effect is that Joel may need this for his bucket work on 
the new _set() path. And what's more, tiger's acl can base on your 
merge_window directly now.

Regards,
Tao



More information about the Ocfs2-devel mailing list