[Ocfs2-tools-commits] branch, refcount, created. ocfs2-tools-1.4.0-300-gd095553

svn-commits at oss.oracle.com svn-commits at oss.oracle.com
Fri May 1 20:15:28 PDT 2009


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, refcount has been created
        at  d09555360cfd9214b8b44c76cbdc094db856f5a7 (commit)

- Log -----------------------------------------------------------------
commit d09555360cfd9214b8b44c76cbdc094db856f5a7
Author: Joel Becker <joel.becker at oracle.com>
Date:   Fri May 1 18:59:21 2009 -0700

    debugfs.ocfs2: Dump the new refcount structures.
    
    Walk the refcount tree for refcount blocks.  Dump the records in leaf
    blocks.
    
    Signed-off-by: Joel Becker <joel.becker at oracle.com>

commit f7819b54bf8ec4d64e15ec990431601116e7e2da
Author: Joel Becker <joel.becker at oracle.com>
Date:   Fri May 1 18:27:53 2009 -0700

    libocfs2: Add the ability to look up records in the refcount btree.
    
    The ocfs2_refcount_tree_get_rec() function looks up a physical cpos in
    the given refcount tree.
    
    This includes adding ocfs2_new_refcount_tree_path() so that we can use
    ocfs2_find_leaf() on refcount trees.
    
    Signed-off-by: Joel Becker <joel.becker at oracle.com>

commit 92620bcfdc09640397059c3b881453c4e38ed93e
Author: Joel Becker <joel.becker at oracle.com>
Date:   Fri May 1 18:15:08 2009 -0700

    libocfs2: Make ocfs2_find_leaf() find all leaves.
    
    With the updates to ocfs2_new_path(), you'll notice that
    ocfs2_find_leaf() and ocfs2_xattr_find_leaf() only disagree in their
    buffer.  How about we export ocfs2_new_*_path() and let
    ocfs2_find_leaf() take a path.  I like it!
    
    Signed-off-by: Joel Becker <joel.becker at oracle.com>

commit e59bfb8b29a365908ba58b6e681d0eaeee3ab4a2
Author: Joel Becker <joel.becker at oracle.com>
Date:   Fri May 1 18:01:30 2009 -0700

    libocfs2: Create ocfs2_new_xattr_tree_path().
    
    Why hand-build a path for xattr trees when we can build one using
    ocfs2_new_path() now?  Then ocfs2_xattr_find_leaf() is nicer to look at.
    
    Signed-off-by: Joel Becker <joel.becker at oracle.com>

commit 2a5d7171c7a9089ce77405a3ba7a595167adf6ba
Author: Joel Becker <joel.becker at oracle.com>
Date:   Fri May 1 17:53:24 2009 -0700

    libocfs2: Make ocfs2_new_path() structure agnostic.
    
    We don't care that we have a dinode, so don't require one for
    ocfs2_new_path().  We can the write ocfs2_new_path_from_path() and use
    it.
    
    Signed-off-by: Joel Becker <joel.becker at oracle.com>

commit 55fc0e64c922ce7ec994338c31e637e41de725a9
Author: Joel Becker <joel.becker at oracle.com>
Date:   Fri May 1 16:22:06 2009 -0700

    libocfs2: Move refcount functions out of extent.c
    
    The new refcount tree is a consumer of the btree code, not a
    modification thereof.  So let's take it to its own source file.
    
    Signed-off-by: Joel Becker <joel.becker at oracle.com>

commit 3a749c800ee862c77df2d113d3707b2f17682a67
Author: Joel Becker <joel.becker at oracle.com>
Date:   Fri May 1 15:35:09 2009 -0700

    debugfs.ocfs2: Print the fields of an ocfs2_refcount_block.
    
    Signed-off-by: Joel Becker <joel.becker at oracle.com>

commit 0bfb71cf824533279aa1ff2dd06f6f71dfff73d3
Author: Joel Becker <joel.becker at oracle.com>
Date:   Fri May 1 13:55:22 2009 -0700

    debugfs.ocfs2: REFCOUNT_RECORD no longer exists
    
    We don't have the magic extent_rec, so print what you're supposed to.
    
    Signed-off-by: Joel Becker <joel.becker at oracle.com>

commit 370abf678264443d720df0919fe9be762f395e59
Author: Joel Becker <joel.becker at oracle.com>
Date:   Fri May 1 13:36:22 2009 -0700

    libocfs2: Add printable refcount flags.
    
    Things like debugfs want the nice pretty names for the refcount flags.
    
    Signed-off-by: Joel Becker <joel.becker at oracle.com>

commit ab25be453c7e4d99d6f6f73f563100d31c71202f
Author: Joel Becker <joel.becker at oracle.com>
Date:   Fri May 1 13:30:11 2009 -0700

    libocfs2: Remove the REFCOUNT_RECORD extent flag, it doesn't exist
    
    More changes.
    
    Signed-off-by: Joel Becker <joel.becker at oracle.com>

commit e9548b5504f400c65450598935849d716c16236b
Author: Joel Becker <joel.becker at oracle.com>
Date:   Fri May 1 13:25:57 2009 -0700

    libocfs2: Update the refcount block swapping code
    
    We now have refcount records or extent lists, so we need to do more work
    when swapping them.
    
    Signed-off-by: Joel Becker <joel.becker at oracle.com>

commit 3afe59e3e1e7c9bff5653282a04fd4fbb26e7ce1
Author: Joel Becker <joel.becker at oracle.com>
Date:   Fri May 1 13:15:24 2009 -0700

    libocfs2: Restore the old extent list swap code.
    
    Signed-off-by: Joel Becker <joel.becker at oracle.com>

commit 3dd2bf8f11cc314e7348068ab5287ed040c12b7c
Author: Joel Becker <joel.becker at oracle.com>
Date:   Fri May 1 13:12:12 2009 -0700

    ocfs2-tools: Update the disk structures.
    
    We've changed the structures.  Let's update ocfs2_fs.h.
    
    Signed-off-by: Joel Becker <joel.becker at oracle.com>

commit 0de280cda56e08a05b6c72e91927cbf7540ca2b9
Author: Joel Becker <joel.becker at oracle.com>
Date:   Sat Mar 28 22:36:42 2009 -0700

    libocfs2: Swap i_refcount_loc.
    
    Whoops, fogot to swap it.
    
    Signed-off-by: Joel Becker <joel.becker at oracle.com>

commit 1fbd015d24c5ad9cd984efb84bf18607f698e15e
Author: Joel Becker <joel.becker at oracle.com>
Date:   Mon Feb 23 20:04:37 2009 -0800

    ocfs2: Add the REFLINK ioctl(2) definition.
    
    This is an ocfs2-specific ioctl(2) right now.
    
    Signed-off-by: Joel Becker <joel.becker at oracle.com>

commit 719b71dca3961e6920a0052f50ad03eb4321ec08
Author: Joel Becker <joel.becker at oracle.com>
Date:   Fri Feb 20 18:55:27 2009 -0800

    libocfs2: Add REFCOUNT_TREE to the supported feature list.
    
    Add OCFS2_FEATURE_INCOMPAT_REFCOUNT_TREE to the list of features
    supported by ocfs2-tools.
    
    Signed-off-by: Joel Becker <joel.becker at oracle.com>

commit a02b3ad154fbd20ef7c402038ae61b84141d68f3
Author: Joel Becker <joel.becker at oracle.com>
Date:   Fri Feb 20 18:41:46 2009 -0800

    debugfs.ocfs2: Dump refcount trees
    
    debugfs.ocfs2 gains the 'refcount' command.  This will dump a refcount
    tree including its extents.  If passed an inode specification, it will
    dump the refcount tree associated with that inode.  If it is passed the
    refcount block directly (surrounded by angle brackets, of course), it
    will just read the refcount block.
    
    Signed-off-by: Joel Becker <joel.becker at oracle.com>

commit 919b0741a656a1dde94d8fbccee69c7e2748e098
Author: Joel Becker <joel.becker at oracle.com>
Date:   Fri Feb 20 18:16:07 2009 -0800

    libocfs2: Add the 'refcount' feature to the feature definitions.
    
    Add refcount trees to the selectable and printable feature definitions.
    
    Signed-off-by: Joel Becker <joel.becker at oracle.com>

commit d79ace9efb49629f00208c00f280700f2cbffe4c
Author: Joel Becker <joel.becker at oracle.com>
Date:   Fri Feb 20 18:11:11 2009 -0800

    debugfs.ocfs2: Print extent flags readably.
    
    Use the new extent flag printer to dump them nicely in debugfs.ocfs2.
    
    Signed-off-by: Joel Becker <joel.becker at oracle.com>

commit 86bf061953b8afe99f5250f61f2bc8873471aa66
Author: Joel Becker <joel.becker at oracle.com>
Date:   Fri Feb 20 17:59:08 2009 -0800

    libocfs2: Add extent flag printing.
    
    We have added more extent flags, so we should centralize printing them.
    This is very similar to the same code for feature and tunefs flags.
    
    Signed-off-by: Joel Becker <joel.becker at oracle.com>

commit 34bfcc0b04198e000587c2635d9d081938f1ba96
Author: Joel Becker <joel.becker at oracle.com>
Date:   Fri Feb 20 17:40:28 2009 -0800

    libocfs2: Add ocfs2_write_refcount_block()
    
    The corresponding write function.
    
    Signed-off-by: Joel Becker <joel.becker at oracle.com>

commit 52ba90c32772657f6b16c8940f2ff1414c2b7350
Author: Joel Becker <joel.becker at oracle.com>
Date:   Fri Feb 20 17:36:10 2009 -0800

    libocfs2: Add ocfs2_read_refcount_block().
    
    The extent list swap code learns about leaf extent records for refcount
    trees, and we now can read refcount blocks.
    
    Signed-off-by: Joel Becker <joel.becker at oracle.com>

commit 7fcd204d542369ff14ed769d7f9f990aaaac10fc
Author: Joel Becker <joel.becker at oracle.com>
Date:   Fri Feb 20 17:24:39 2009 -0800

    ocfs2-tools: Add disk layout for refcount trees.
    
    Signed-off-by: Joel Becker <joel.becker at oracle.com>

commit a1a59dc0219b0b6ab4b24c757541c7ee037ddeed
Merge: 0ab011f6ac1afe44999b508dde9068fbbc5ffe89 8578c6bd2606638634f62f7b86885a5d9046c733
Author: Joel Becker <joel.becker at oracle.com>
Date:   Tue Mar 24 20:41:03 2009 -0700

    Merge branch 'fixes' into xattr

commit 8578c6bd2606638634f62f7b86885a5d9046c733
Author: Joel Becker <joel.becker at oracle.com>
Date:   Thu Mar 12 18:20:22 2009 -0700

    ocfs2_controld: Retry the global checkpoint until it's installed.
    
    The global checkpoint is installed by the first ocfs2_controld to join
    the group.  It's read by every subsequent ocfs2_controld to join the
    group.  However, if they are all starting at the same time, the
    subsequent daemons may try to read the global checkpoint before the
    first daemon is finished installing it.
    
    We teach the subsequent daemons to keep retrying until the global
    checkpoint is installed.  If the first daemon dies before installing the
    checkpoint, the subsequent daemons will give up.
    
    Signed-off-by: Joel Becker <joel.becker at oracle.com>

commit 91ee910e6da866bde9f7abdcd6f3d78349f9697c
Author: Joel Becker <joel.becker at oracle.com>
Date:   Thu Mar 12 18:02:59 2009 -0700

    ocfs2_controld: Retry CKPT operations indefinitely.
    
    The CKPT service code assumed that TRY_AGAIN was a rare case.  However,
    openais returns TRY_AGAIN whenever it's busy doing anything.  So we
    can't just retry twice and give up.
    
    It's safe to retry indefinitely in the face of TRY_AGAIN, so we'll do
    so.  During initialization, we won't be allowing mounts yet.  During
    shutdown, we want to wait for shutdown.  Any time, the process can be
    killed.
    
    We're also going to wait indefinitely when we see EEXIST while creating
    a checkpoint.  EEXIST means one of two things:
    
     1) Another daemon is up and running.  This one is just going to sit
        here printing to the log until it's killed or the other one dies.
        This will confuse people; they'll stop the running daemon, but not
        be able to unload the stack.  We have to do this because of the
        second reason.
    
     2) The daemon was stopped and then immediately restarted.  AIS cleans
        up the checkpoint in a lazy fashion, so there is no guarantee the
        checkpoint is gone by the time the new daemon starts up.  So we can
        get an EEXIST for a little while until AIS gets around to the
        cleanup.  Because scheduling, etc, can take a while, we don't know
        how long that will be.  So we keep retrying.  Eventually, AIS will
        clean up the checkpoint from the daemon that exited and let us
        create our new one.
    
    Signed-off-by: Joel Becker <joel.becker at oracle.com>

commit 61f2711aae1d4e5ba61e14863ceaab444dae5314
Author: Joel Becker <joel.becker at oracle.com>
Date:   Thu Mar 12 18:00:13 2009 -0700

    ocfs2_controld: Add a couple helpers for functions that retry operations
    
    Add a helper function to sleep for a certain number of milliseconds, and
    add another function that will increase a count, printing an error
    whenever that count is a power of two.  eg:
    
        retry_warning(retrycount, "Still trying to do this operation");
    
    This increments retrycount every time it is called, but only prints the
    log_error() when retrycount is a power of two.
    
    Signed-off-by: Joel Becker <joel.becker at oracle.com>

commit 4e5cc45662fd9cf20b93cd852cc9535a5ee27078
Author: Coly Li <coly.li at suse.de>
Date:   Sat Mar 7 21:11:14 2009 +0800

    ocfs2-tools: Use open64() when opening large files
    
    ocfs2-tools usually is opening devices.  In the modern world, they are
    almost always larger than 2GB.  Thus ocfs2-tools needs to use the
    64bit loff_t.
    
    This patch changes some missed open() calls to open64().
    
    Signed-off-by: Coly Li <coly.li at suse.de>
    Signed-off-by: Joel Becker <joel.becker at oracle.com>

commit 50150f2825d0f57414b66c783a28104debf046d9
Author: Joel Becker <joel.becker at oracle.com>
Date:   Wed Mar 11 18:04:17 2009 -0700

    libocfs2: Fix errno return from ocfs2_get_device_sectsize()
    
    ocfs2_get_device_sectsize() is declared as returning errcode_t, but it
    was returning a raw errno when open64() failed.  Let's give it a proper
    error.
    
    Signed-off-by: Joel Becker <joel.becker at oracle.com>
    Signed-off-by: Tao Ma <tao.ma at oracle.com>

commit 0ab011f6ac1afe44999b508dde9068fbbc5ffe89
Author: Tiger Yang <tiger.yang at oracle.com>
Date:   Fri Feb 27 15:55:17 2009 +0800

    ocfs2-tools: add xattr in supported features list
    
    This patch add xattr in supported feature list in ocfs2_fs.h
    
    Signed-off-by: Tiger Yang <tiger.yang at oracle.com>

commit 00bc35b1a41e07d21e7cf6b3d2c48042cc7caab0
Author: Tiger Yang <tiger.yang at oracle.com>
Date:   Fri Feb 27 15:55:03 2009 +0800

    ocfs2-tools: add xattr support in tunefs.ocfs2
    
    This patch add feature xattr in tunefs.ocfs2.
    So you can enable or disable feature xattr on a ocfs2 volume.
    Disable feature xattr will remove all xattrs which have already been set,
    include acl, security xattrs.
    
    Signed-off-by: Tiger Yang <tiger.yang at oracle.com>

commit d41839263235d333afeae94928e5111bc734ceca
Author: Tiger Yang <tiger.yang at oracle.com>
Date:   Fri Feb 27 15:54:49 2009 +0800

    ocfs2-tools: add xattr support in fsck.ocfs2
    
    This patch will check all extended attributes related with each inode,
    It will check and try to fix xattr structures in inode, block and bucket,
    extent tree in index block and xattr's value tree, mark all xattr
    block/cluster as used.
    
    Signed-off-by: Tiger Yang <tiger.yang at oracle.com>

commit f2d66c69838b2e87baeab4a5c14b9e6b0e41d007
Author: Tiger Yang <tiger.yang at oracle.com>
Date:   Fri Feb 27 15:54:19 2009 +0800

    ocfs2-tools: change maximum inline size with xattr
    
    We have to change maximum data inline size if we have extended
    attribues in line.
    
    Signed-off-by: Tiger Yang <tiger.yang at oracle.com>

commit d81b2f8a9e5767bc1783a1f26b00b5a0880eafd1
Author: Tiger Yang <tiger.yang at oracle.com>
Date:   Fri Feb 27 15:54:05 2009 +0800

    ocfs2-tools: add xattr support in debugfs.ocfs2
    
    This patch add showing xattrs which setted in a file in debugfs.ocfs2.
    The new command "xattr [-v] <filespec>" in debugfs.ocfs2 could show
    xattrs in inode, block or buckets in summary or in verbose mode.
    
    Signed-off-by: Tiger Yang <tiger.yang at oracle.com>

commit 489be92826036b20398d600dcc01d296b1f562fe
Author: Tiger Yang <tiger.yang at oracle.com>
Date:   Fri Feb 27 15:53:53 2009 +0800

    ocfs2-tools: add more xattr APIs in lib
    
    This patch mainly add read/write xattr bucket API in libocfs2.
    
    Signed-off-by: Tiger Yang <tiger.yang at oracle.com>

commit cfefe519bc92ac906aaeed13d626ad1f3fa7ef1e
Author: Tiger Yang <tiger.yang at oracle.com>
Date:   Fri Feb 27 15:53:40 2009 +0800

    ocfs2-tools: add xattr support in lib
    
    This patch add xattr APIs in libocfs2.
    Such as, read/write xattr block, swap xattr structure from/to cpu,
    get xattr record, etc.
    
    Signed-off-by: Tiger Yang <tiger.yang at oracle.com>

commit a04e0c9b0fae9c652d1413b79c14425aded8d8cf
Author: Tiger Yang <tiger.yang at oracle.com>
Date:   Fri Feb 27 15:53:27 2009 +0800

    ocfs2-tools: add xattr support in mkfs.ocfs2
    
    This patch add support for new feature xattr in mkfs.ocfs2.
    Xattr is an incompatible feature, need option --fs-features=xattr
    or --fs-feature-level=max-features to enable it.
    
    Signed-off-by: Tiger Yang <tiger.yang at oracle.com>

commit 2c96f9482610a832f5d87cb472a132613b5138ef
Author: Tiger Yang <tiger.yang at oracle.com>
Date:   Fri Feb 27 15:52:27 2009 +0800

    ocfs2-tools: add xattr_uuid_hash in libocfs2
    
    this function use to calculate uuid hash, this hash value will be
    used as random seed to calculate xattr hash.
    
    Signed-off-by: Tiger Yang <tiger.yang at oracle.com>

commit 97bfacbc924c73fbc3f77605434aaa2d71b23748
Author: Tiger Yang <tiger.yang at oracle.com>
Date:   Fri Feb 27 15:52:07 2009 +0800

    ocfs2-tools: update super_block and ocfs2_dinode for sizetest
    
    This patch update xattr fileds in super_block and ocfs2_dinode in sizetest.c,
    and fix few missed fields.
    
    Signed-off-by: Tiger Yang <tiger.yang at oracle.com>

commit 39b0089fb3861047e3bce1b31996147e92fbcd73
Author: Tiger Yang <tiger.yang at oracle.com>
Date:   Fri Feb 27 15:51:52 2009 +0800

    ocfs2-tools: update super_block and ocfs2_dinode for swap
    
    This patch update xattr filed in super_block and ocfs2_dinode for swap,
    and fix few missed fields.
    
    Signed-off-by: Tiger Yang <tiger.yang at oracle.com>

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


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



More information about the Ocfs2-tools-commits mailing list