[Ocfs2-tools-commits] tag, tao-resize_top, created. ocfs2-tools-1.2.6-88-g2e5358b

svn-commits at oss.oracle.com svn-commits at oss.oracle.com
Tue Apr 1 13:48:09 PDT 2008


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Tools to manage the ocfs2 filesystem.".

The tag, tao-resize_top has been created
        at  2e5358bdfac0c147cf2de75f4ddedc51c65018c4 (commit)

- Log -----------------------------------------------------------------
commit 2e5358bdfac0c147cf2de75f4ddedc51c65018c4
Author: Sunil Mushran <sunil.mushran at oracle.com>
Date:   Thu Mar 13 18:33:50 2008 -0700

    User can do offline resize using tunefs.ocfs2 when a volume isn't
    mounted. Now the support for online resize is added.
    
    Please note that the node where online resize goes must already
    has the volume mounted. We don't mount it behind the user and the
    operation would fail if we find it isn't mounted. As for other
    nodes, we don't care whether the volume is mounted or not.
    
    global_bitmap, super block and all the backups will be updated
    in the kernel. And if super block or backup's update fails, we
    just output some error message in dmesg and continue the work.
    
    The whole process is derived from ext3 and divided into 2 steps:
    1. OCFS2_IOC_GROUP_EXTEND: We will extend the last group first
       if it isn't full. All the work is done in kernel.
    2. For every new group,  call OCFS2_IOC_GROUP_ADD to add them
       one by one. We initialize the new group descriptor in userspace,
       and let the kernel update the global_bitap etc.
    
    Signed-off-by: Tao Ma <tao.ma at oracle.com>

-----------------------------------------------------------------------


hooks/post-receive
-- 
Tools to manage the ocfs2 filesystem.



More information about the Ocfs2-tools-commits mailing list