]> git.baikalelectronics.ru Git - kernel.git/commit
Ocfs2/move_extents: lock allocators and reserve metadata blocks and data clusters...
authorTristan Ye <tristan.ye@oracle.com>
Fri, 18 Mar 2011 06:35:32 +0000 (14:35 +0800)
committerTristan Ye <tristan.ye@oracle.com>
Wed, 25 May 2011 07:17:09 +0000 (15:17 +0800)
commit3d7981734b0d28c016b9ed4d32388204966948b7
tree04426cf07865f7f456eb2f8154d96b2ef403cee9
parent15ed9da0335bc23242831465521cfd5402b1b5de
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 <tristan.ye@oracle.com>
fs/ocfs2/move_extents.c