]> 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)
commitd17caeb2aa323e1aee63f53f0148a8fda43de0a6
tree04426cf07865f7f456eb2f8154d96b2ef403cee9
parent7249c636293e002ac043c7760d5c5d5669eb5f8e
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