]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
ocfs2: Narrow the transaction for deleting xattrs from a bucket.
authorTao Ma <tao.ma@oracle.com>
Thu, 11 Dec 2008 00:54:11 +0000 (08:54 +0800)
committerMark Fasheh <mfasheh@suse.com>
Mon, 5 Jan 2009 16:40:26 +0000 (08:40 -0800)
commit88c3b0622acf82c7c86fbc066e81e15edc7c1685
tree100cf2f28cd2601b64db7c6a917dfcbcc72b4019
parent548b0f22bb7497ba76f91627b99f9fed53a91704
ocfs2: Narrow the transaction for deleting xattrs from a bucket.

We move the transaction into the loop because in
ocfs2_remove_extent, we will double the credits in function
ocfs2_extend_rotate_transaction. So if we have a large loop
number, we will soon waste much the journal space.

Signed-off-by: Tao Ma <tao.ma@oracle.com>
Signed-off-by: Joel Becker <joel.becker@oracle.com>
Signed-off-by: Mark Fasheh <mfasheh@suse.com>
fs/ocfs2/xattr.c