commit | de474ee8bbc315b0e6772cebdb24b335f82cf95d | [log] [tgz] |
---|---|---|
author | Tristan Ye <tristan.ye@oracle.com> | Fri Mar 18 14:35:32 2011 +0800 |
committer | Tristan Ye <tristan.ye@oracle.com> | Wed May 25 15:17:09 2011 +0800 |
tree | 04426cf07865f7f456eb2f8154d96b2ef403cee9 | |
parent | 028ba5df63fa9fc18045bc1e9b48cdd43727e1c5 [diff] |
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>