[Ocfs2-tools-commits] branch, master, updated. ocfs2-tools-1.4.0-116-g3f88678

svn-commits at oss.oracle.com svn-commits at oss.oracle.com
Fri Jul 25 20:21:57 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 branch, master has been updated
       via  3f8867816b4ec32ab352a4a4dc38310788caa4c6 (commit)
       via  5f4320297f40afa79b1edddff5f65bacf4eafd48 (commit)
       via  09459bf766cb3cfa58d19e2c4453ddcf5a68a42f (commit)
       via  18d517d295610ce15ad0e99afcb0889e6f7ed614 (commit)
       via  ece9cb37d4131984e6d6ec2aa062f0fecd6d33c2 (commit)
       via  42a20d211d31c26f12bfbd0af6503a6a1c87d2e7 (commit)
       via  188ba040e3444a71ab24804afc7c70b18ec2f9ef (commit)
       via  6c613ee6ab2b060fb493837ae6366de03fad628b (commit)
       via  fdb2afd61c2c433065305bb9fb8d09d92c85e64b (commit)
       via  cde33779846c19492dbec00a36c5edc3b98b8a51 (commit)
       via  770c826329158c31c16f2ff4073a41a4bbe9c304 (commit)
      from  a0f464a6375c194ae063029874adfff6b8e3e451 (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 3f8867816b4ec32ab352a4a4dc38310788caa4c6
Author: Tao Ma <tao.ma at oracle.com>
Date:   Wed Jul 23 06:31:27 2008 +0800

    Enable inline data support.
    
    Signed-off-by: Tao Ma <tao.ma at oracle.com>
    Signed-off-by: Joel Becker <joel.becker at oracle.com>

commit 5f4320297f40afa79b1edddff5f65bacf4eafd48
Author: Tao Ma <tao.ma at oracle.com>
Date:   Sat Jul 26 01:54:18 2008 +0800

    tunefs.ocfs2: Support inline_data in tunefs.
    
    Allow tunefs.ocfs2 to enable/disable inline_data for a formatted
    volume by --fs-features like "inline-data" and "noinline-data".
    
    Signed-off-by: Tao Ma <tao.ma at oracle.com>
    Signed-off-by: Joel Becker <joel.becker at oracle.com>

commit 09459bf766cb3cfa58d19e2c4453ddcf5a68a42f
Author: Tao Ma <tao.ma at oracle.com>
Date:   Sat Jul 26 01:50:54 2008 +0800

    Create inline dir in mkfs.
    
    Root dir and orphan_dir are both emptied enough to be inlined.
    As for system dir, it will be inlined if the system files can
    be inserted into one file.
    
    The unused variable in DirData is also removed.
    
    Signed-off-by: Tao Ma <tao.ma at oracle.com>
    Signed-off-by: Joel Becker <joel.becker at oracle.com>

commit 18d517d295610ce15ad0e99afcb0889e6f7ed614
Author: Tao Ma <tao.ma at oracle.com>
Date:   Sat Jul 26 01:27:09 2008 +0800

    fsck.ocfs2 now know inline data.
    
    fsck.ocfs2 will only check i_size and i_clusters for inline data.
    As for directory check, inline directory will also be checked.
    
    Signed-off-by: Tao Ma <tao.ma at oracle.com>
    Signed-off-by: Joel Becker <joel.becker at oracle.com>

commit ece9cb37d4131984e6d6ec2aa062f0fecd6d33c2
Author: Tao Ma <tao.ma at oracle.com>
Date:   Sat Jul 26 01:25:59 2008 +0800

    Dir operation modification for inline data.
    
    As we have inline data support now and directory is often very small, so
    it is nice to have an inlined directory.
    
    The modification for directory includes:
    1. Create a new function named ocfs2_init_dir to handle the initialization
       of dir. So the user will call it instead of ocfs2_expand_dir after it
       successfully allocate one inode from the bitmap.
    2. Move expand_dir to ocfs2_link itself. So now the caller of ocfs2_link
       doesn't need to expand the dir by itself.
    3. Delete libocfs2/newdir.c. The old file only contains one function named
       ocfs2_new_dir_block, so delete it and the work of that function is moved
       into expanddir.c.
    4. Abstract the iteration of dir entry from ocfs2_process_dir_block to function
       ocfs2_process_dir_entry. And add a new function ocfs2_inline_dir_iterate
       to do inline iteration.
    
    Signed-off-by: Tao Ma <tao.ma at oracle.com>
    Signed-off-by: Joel Becker <joel.becker at oracle.com>

commit 42a20d211d31c26f12bfbd0af6503a6a1c87d2e7
Author: Tao Ma <tao.ma at oracle.com>
Date:   Sat Jul 26 01:24:58 2008 +0800

    libocfs2: read/write now know inline data.
    
    We initialize a file with extent list, but if the user write some
    data into a file which can be fit for a inline data, it will be
    inserted into inode. When the file content exceeds the limit, they
    will be moved out to extent list.
    
    Signed-off-by: Tao ma <tao.ma at oracle.com>
    Signed-off-by: Sunil Mushran <sunil.mushran at oracle.com>
    Signed-off-by: Joel Becker <joel.becker at oracle.com>

commit 188ba040e3444a71ab24804afc7c70b18ec2f9ef
Author: Tao Ma <tao.ma at oracle.com>
Date:   Sat Jul 26 01:23:48 2008 +0800

    Add ocfs2_cached_inode_insert_extent in libocfs2.
    
    Abstract the work of ocfs2_insert_extent to another function named
    ocfs2_cached_inode_insert_extent. With this new added function,
    we move the read/write of ocfs2_dinode out so that inline data
    can be removed safely after it has been written to extent list.
    
    The caller can use ocfs2_cached_inode_insert_extent if they use
    ocfs2_cached_inode while others can still use ocfs2_insert_extent
    if they just want to use i_blkno to manipulate extent list.
    
    Signed-off-by: Tao Ma <tao.ma at oracle.com>
    Signed-off-by: Joel Becker <joel.becker at oracle.com>

commit 6c613ee6ab2b060fb493837ae6366de03fad628b
Author: Sunil Mushran <sunil.mushran at oracle.com>
Date:   Sat Jul 26 01:22:57 2008 +0800

    tunefs.ocfs2: query now understands inline data
    
    Signed-off-by: Sunil Mushran <sunil.mushran at oracle.com>
    Signed-off-by: Tao Ma <tao.ma at oracle.com>
    Signed-off-by: Joel Becker <joel.becker at oracle.com>

commit fdb2afd61c2c433065305bb9fb8d09d92c85e64b
Author: Mark Fasheh <mfasheh at suse.com>
Date:   Sat Jul 26 01:43:45 2008 +0800

    inline-data: mkfs.ocfs2 feature flags update
    
    Add OCFS2_FEATURE_INCOMPAT_INLINE_DATA to the max-features feature level. We
    can move it to the default at a later point.
    NOTE: A later patch should update mkfs.ocfs2 to create orphan dirs with
    inline data.
    
    Signed-off-by: Mark Fasheh <mfasheh at suse.com>
    Signed-off-by: Tao Ma <tao.ma at oracle.com>
    Signed-off-by: Joel Becker <joel.becker at oracle.com>

commit cde33779846c19492dbec00a36c5edc3b98b8a51
Author: Mark Fasheh <mfasheh at suse.com>
Date:   Sat Jul 26 01:39:18 2008 +0800

    inline-data: debugfs.ocfs2 updates
    
    Add strings for the incompat bit and the dyn_features flags. Debugfs will
    print i_dyn_features now on stat of an inode.
    For data-in-inode inodes it'll print the non-data contents of id2.i_data
    instead of traversing the extent list.
    
    Signed-off-by: Mark Fasheh <mfasheh at suse.com>
    Signed-off-by: Tao Ma <tao.ma at oracle.com>
    Signed-off-by: Joel Becker <joel.becker at oracle.com>

commit 770c826329158c31c16f2ff4073a41a4bbe9c304
Author: Mark Fasheh <mfasheh at suse.com>
Date:   Sat Jul 26 01:38:00 2008 +0800

    Add very basic support for i_dyn_features read/write.
    
    Signed-off-by: Mark Fasheh <mfasheh at suse.com>
    Signed-off-by: Tao Ma <tao.ma at oracle.com>
    Signed-off-by: Joel Becker <joel.becker at oracle.com>

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

Summary of changes:
 debugfs.ocfs2/commands.c          |    2 +-
 debugfs.ocfs2/dump.c              |   21 ++++
 debugfs.ocfs2/utils.c             |    1 +
 fsck.ocfs2/fsck.ocfs2.checks.8.in |   12 ++
 fsck.ocfs2/pass1.c                |   71 ++++++++++++-
 fsck.ocfs2/pass2.c                |   52 +++++++---
 fsck.ocfs2/pass3.c                |   15 +--
 fsck.ocfs2/pass4.c                |   10 +--
 include/ocfs2-kernel/ocfs2_fs.h   |    1 +
 include/ocfs2/ocfs2.h             |   21 +++-
 libocfs2/Makefile                 |    1 -
 libocfs2/alloc.c                  |   36 ++++++-
 libocfs2/dir_iterate.c            |  121 +++++++++++++++-----
 libocfs2/expanddir.c              |  142 +++++++++++++++++++++---
 libocfs2/extend_file.c            |   63 +++++++----
 libocfs2/feature_string.c         |    8 +-
 libocfs2/fileio.c                 |  219 +++++++++++++++++++++++++++++++++++--
 libocfs2/inode.c                  |   23 ++++
 libocfs2/link.c                   |   15 ++-
 libocfs2/newdir.c                 |   82 --------------
 libocfs2/ocfs2_err.et             |    3 +
 mkfs.ocfs2/mkfs.c                 |   73 ++++++++++--
 mkfs.ocfs2/mkfs.h                 |   15 +--
 tunefs.ocfs2/Makefile             |    3 +-
 tunefs.ocfs2/features.c           |   22 ++++-
 tunefs.ocfs2/inline_data.c        |  171 +++++++++++++++++++++++++++++
 tunefs.ocfs2/query.c              |    2 +
 tunefs.ocfs2/sparse_file.c        |    2 +-
 tunefs.ocfs2/tunefs.c             |   18 +--
 tunefs.ocfs2/tunefs.h             |    6 +
 30 files changed, 979 insertions(+), 252 deletions(-)
 delete mode 100644 libocfs2/newdir.c
 create mode 100644 tunefs.ocfs2/inline_data.c


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



More information about the Ocfs2-tools-commits mailing list