[Ocfs2-tools-commits] branch, master, updated. ocfs2-tools-1.4.0-662-gdd2823c

svn-commits at oss.oracle.com svn-commits at oss.oracle.com
Thu Apr 28 19:14:50 PDT 2011


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 branch, master has been updated
       via  dd2823ca38477d07acf8303a76bb52cbacbd5758 (commit)
       via  039b4abe664c880432fb34df8236e062e1b5317f (commit)
       via  995713a2cd00b780d7a9c2e2f56aa84f4aa41881 (commit)
       via  4e0c2157ad957969ac2759b5690ec13efbd7500e (commit)
       via  dd6f2cae76d69bea2382c2f45412bd1ae6187333 (commit)
      from  69759a296ea10d697519f7a997a1c7e1f58bf5cd (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit dd2823ca38477d07acf8303a76bb52cbacbd5758
Author: Tristan Ye <tristan.ye at oracle.com>
Date:   Fri Jun 3 15:10:30 2011 +0800

    O2info: Add new running codes for '--filestat'.
    
    This patch not only tries to teach o2info to dump file's standard stat
    information, but also report some extended info such as extents, frag,
    holes, unwritten and shared space in clusters, which also was gained
    mainly by the help of new 'FS_IOC_FIEMAP' ioctl.
    
    Signed-off-by: Tristan Ye <tristan.ye at oracle.com>
    Acked-by: Sunil Mushran <sunil.mushran at oracle.com>

commit 039b4abe664c880432fb34df8236e062e1b5317f
Author: Tristan Ye <tristan.ye at oracle.com>
Date:   Fri Jun 3 15:10:29 2011 +0800

    O2info: Add new running codes for '--space-usage'.
    
    This patch tries to teach o2info to dump file's usage information on disk in
    terms of calculating its number of physical block, holes, reseverd/shared clusters
    with the help of new 'FS_IOC_FIEMAP' ioctl.
    
    Signed-off-by: Tristan Ye <tristan.ye at oracle.com>
    Acked-by: Sunil Mushran <sunil.mushran at oracle.com>

commit 995713a2cd00b780d7a9c2e2f56aa84f4aa41881
Author: Tristan Ye <tristan.ye at oracle.com>
Date:   Fri Jun 3 15:10:28 2011 +0800

    O2info: Add new running codes for '--freefrag'
    
    Patch teaches o2info to dump fs's fragmentation info like following:
    
    --------------------------------------------------------
    Blocksize: 4096 bytes
    Clustersize: 4096 bytes
    Total clusters: 1002046
    Free clusters: 787419 (78.6%)
    
    Min. free extent: 4 KB
    Max. free extent: 124924 KB
    Avg. free extent: 6644 KB
    
    Chunksize: 4096 bytes (1 clusters)
    Total chunks: 1002047
    Free chunks: 787419 (78.6%)
    
    HISTOGRAM OF FREE EXTENT SIZES:
    Extent Size Range :  Free extents  Free Clusters  Percent
        4K...    8K-  :             9             9    0.00%
        8K...   16K-  :            12            31    0.00%
       16K...   32K-  :            45           249    0.03%
       32K...   64K-  :           376          4654    0.59%
        8M...   16M-  :             2          5180    0.66%
       16M...   32M-  :             5         27556    3.50%
       32M...   64M-  :             1         16087    2.04%
       64M...  128M-  :            24        733653   93.17%
    --------------------------------------------------------
    
    Task of '--freefrag' will also be capable of two approaches, including
    libocfs2 and ioctl solutions.
    
    Signed-off-by: Tristan Ye <tristan.ye at oracle.com>
    Acked-by: Sunil Mushran <sunil.mushran at oracle.com>

commit 4e0c2157ad957969ac2759b5690ec13efbd7500e
Author: Tristan Ye <tristan.ye at oracle.com>
Date:   Fri Jun 3 15:10:27 2011 +0800

    O2info: O2info: Add new running codes for '--freeinode'
    
    Patch teaches o2info to dump fs's free inode space among nodes.
    
    Task of '--freeinode' will also be capable of two approaches,
    including libocfs2 and ioctl solutions.
    
    Signed-off-by: Tristan Ye <tristan.ye at oracle.com>
    Acked-by: Sunil Mushran <sunil.mushran at oracle.com>

commit dd6f2cae76d69bea2382c2f45412bd1ae6187333
Author: Tristan Ye <tristan.ye at oracle.com>
Date:   Fri Jun 3 15:10:26 2011 +0800

    O2info: Make parts of o2info routines public.
    
    The idea here is to make parts of o2info operations public, a very original
    intention is driven by the thoughts of having some o2info functions sharable
    with debugfs.ocfs2, so that we'll be able to do 'freefrag'/'freeinode' things
    in debugfs as well.
    
    While such kind of o2info funcs were not that friendly/common enough to become
    sharable globally. that's the reason why we keep these under o2info in terms of
    libo2info instead of libocfs2.
    
    Further patches about 'freefrag' and 'freeinode' of o2info/debugfs.ocfs2 is going
    to be posted, being based on this patch.
    
    Signed-off-by: Tristan Ye <tristan.ye at oracle.com>
    Acked-by: Sunil Mushran <sunil.mushran at oracle.com>

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

Summary of changes:
 include/ocfs2-kernel/fiemap.h      |   68 ++++
 include/ocfs2-kernel/ocfs2_ioctl.h |   34 ++
 o2info/Makefile                    |   20 +-
 o2info/libo2info.c                 |  521 +++++++++++++++++++++++++++++++
 o2info/libo2info.h                 |   97 ++++++
 o2info/o2info.1.in                 |   64 ++++-
 o2info/o2info.c                    |   60 ++++
 o2info/operations.c                |  590 +++++++++++++++++++++++++++++-------
 o2info/utils.c                     |  302 ++++++++++++++++++
 o2info/utils.h                     |    9 +
 10 files changed, 1657 insertions(+), 108 deletions(-)
 create mode 100644 include/ocfs2-kernel/fiemap.h
 create mode 100644 o2info/libo2info.c
 create mode 100644 o2info/libo2info.h


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



More information about the Ocfs2-tools-commits mailing list