From: Tristan Ye Date: Fri, 18 Mar 2011 06:35:32 +0000 (+0800) Subject: Ocfs2/move_extents: lock allocators and reserve metadata blocks and data clusters... X-Git-Tag: v3.0-rc1~137^2^2~11 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=de474ee8bbc315b0e6772cebdb24b335f82cf95d;p=pandora-kernel.git Ocfs2/move_extents: lock allocators and reserve metadata blocks and data clusters for extents moving. ocfs2_lock_allocators_move_extents() was like the common ocfs2_lock_allocators(), to lock metadata and data alloctors during extents moving, reserve appropriate metadata blocks and data clusters, also performa a best- effort to calculate the credits for journal transaction in one run of movement. Signed-off-by: Tristan Ye --- Reading git-diff-tree failed