[Ocfs2-commits] branch, master, updated. ocfs2-1.4.0-26-gf2cfcc6

svn-commits at oss.oracle.com svn-commits at oss.oracle.com
Wed May 7 15:09:47 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 "The ocfs2 filesystem version 1.4".

The branch, master has been updated
       via  f2cfcc62dc14987d0837ddbf0fd9a561df3f435f (commit)
       via  fae3cce1b4c583700e9737017a1d164c4393295f (commit)
       via  7d59abcc84dd9d5d106da48d6639144f90d3716a (commit)
       via  174f54db9af7c67a1afaa947aed934b9c80f588c (commit)
       via  147a86674d626522a59f986764dd1a2b22cdddaa (commit)
       via  eb8500aa8a5c97d4c270328176910a4f0220fda7 (commit)
       via  2915d4c1d175701d0d64c76136029153c4f53316 (commit)
       via  d7286674956633f57e37e63865beb041e2e4b76c (commit)
       via  a36b52d8a87bb0c403f04662632cadc060eeaf8b (commit)
       via  34e075ae3759eb35fd55fc9bec0dd931f4593f5c (commit)
       via  828f7a8ce7e10da82e07c63666456abae940ece3 (commit)
       via  b39a707346292cc75da96637eba1547fc86bf19d (commit)
       via  d372180b344c1689ca2ad4ba6e625e820ce09461 (commit)
       via  cc97832835eb6b7d9139a6bd584cf2e238b0ec6b (commit)
       via  d0cd95a833a1aa743a8d70a7ab55f7b6a534fc44 (commit)
       via  c586973aca2273f60970140d634c563acdf5fdc6 (commit)
       via  643549ba174da6799c8a52f052238a150145e4f9 (commit)
       via  c8921bbb3126dc31acf46cf9aad6916a865f6604 (commit)
       via  d420ca1c13b1bd90221d010b4511e721f1ed4432 (commit)
       via  4cbebb25e08fd64552dd3979b41235251fed98e5 (commit)
       via  7c622428f345e42055cec9396d0958c8119a0271 (commit)
       via  f913db1be23108942d706d34f69e7dcd879d6735 (commit)
       via  57a8c76ebe4d23a32e406cfdfe2e9af29a3bba5e (commit)
       via  aab346802bf060db2e0ebb1c9896d97100521814 (commit)
       via  cc496c940a412d6cc58200fbb46fccc0aecdb352 (commit)
       via  e8888dec9ebdee907dcb533d4aa456b578cd3f0b (commit)
      from  99b6c68abf5508f83f483303cfe67ebf3d32aee9 (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 f2cfcc62dc14987d0837ddbf0fd9a561df3f435f
Author: Sunil Mushran <sunil.mushran at oracle.com>
Date:   Wed May 7 14:57:07 2008 -0700

    ocfs2: Up version to 1.4.0
    
    Signed-off-by: Sunil Mushran <sunil.mushran at oracle.com>

commit fae3cce1b4c583700e9737017a1d164c4393295f
Author: Sunil Mushran <sunil.mushran at oracle.com>
Date:   Tue May 6 15:45:51 2008 -0700

    ocfs2: Use GFP_NOFS in kmalloc during localalloc window move
    
    Mainline commit 4ba1c5bfd2e5a6c9528eb7777b66c297e70f61ca
    
    kmalloc() during a localalloc window move can trigger the mm to prune
    the dcache which inturn can trigger the fs to delete an inode causing
    it start a recursive transaction.
    
    The fix also makes the change in kmalloc during localalloc shutdown
    just to be safe.
    
    Fixes oss bugzilla#901
    http://oss.oracle.com/bugzilla/show_bug.cgi?id=901
    
    Signed-off-by: Sunil Mushran <sunil.mushran at oracle.com>
    Signed-off-by: Mark Fasheh <mfasheh at suse.com>

commit 7d59abcc84dd9d5d106da48d6639144f90d3716a
Author: Sunil Mushran <sunil.mushran at oracle.com>
Date:   Tue May 6 15:45:16 2008 -0700

    ocfs2: Allow uid/gid/perm changes of symlinks
    
    Mainline commit bc535809c06ada210d89f5a43b335c68ecbb8e1b
    
    This patch adds the ability to change attributes of a symlink.
    Fixes oss bugzilla#963
    http://oss.oracle.com/bugzilla/show_bug.cgi?id=963
    
    Signed-off-by: Sunil Mushran <sunil.mushran at oracle.com>
    Signed-off-by: Mark Fasheh <mfasheh at suse.com>

commit 174f54db9af7c67a1afaa947aed934b9c80f588c
Author: Adrian Bunk <bunk at kernel.org>
Date:   Tue May 6 15:51:56 2008 -0700

    ocfs2/dlm: dlmdebug.c: make 2 functions static
    
    Mainline commit 95642e56647d84963428a1168baa8a73cb782ac3
    
    This patch makes the following needlessly global functions static:
    - stringify_lockname()
    - dlm_debug_put()
    
    Signed-off-by: Adrian Bunk <bunk at kernel.org>
    Acked-by: Sunil Mushran <sunil.mushran at oracle.com>
    Signed-off-by: Mark Fasheh <mfasheh at suse.com>

commit 147a86674d626522a59f986764dd1a2b22cdddaa
Author: Sunil Mushran <sunil.mushran at oracle.com>
Date:   Tue May 6 15:52:42 2008 -0700

    ocfs2/net: Add debug interface to o2net
    
    Mainline commit 2309e9e040fe29469fb85a384636c455b62fe525
    
    This patch exposes o2net information via debugfs. The information includes
    the list of sockets (sock_containers) as well as the list of outstanding
    messages (send_tracking). Useful for o2dlm debugging.
    
    (This patch is derived from an earlier one written by Zach Brown that
    exposed the same information via /proc.)
    
    [Mark: checkpatch fixes]
    
    Signed-off-by: Sunil Mushran <sunil.mushran at oracle.com>
    Reviewed-by: Joel Becker <joel.becker at oracle.com>
    Signed-off-by: Mark Fasheh <mfasheh at suse.com>

commit eb8500aa8a5c97d4c270328176910a4f0220fda7
Author: Jeff Mahoney <jeffm at suse.com>
Date:   Tue May 6 15:51:40 2008 -0700

    ocfs2/cluster: Get rid of arguments to the timeout routines
    
    Mainline commit 409753bf6da4a2db038027471abaf324e063db2f
    
    We keep seeing bug reports related to NULL pointer derefs in
    o2net_set_nn_state(). When I originally wrote up the configurable timeout
    patch, I had tried to plan for multiple clusters. This was silly.
    
    The timeout routines all use o2nm_single_cluster so there's no point in
    passing an argument at all. This patch removes the arguments and kills those
    bugs dead.
    
    Signed-off-by: Jeff Mahoney <jeffm at suse.com>
    Signed-off-by: Mark Fasheh <mfasheh at suse.com>

commit 2915d4c1d175701d0d64c76136029153c4f53316
Author: Julia Lawall <julia at diku.dk>
Date:   Tue May 6 15:51:30 2008 -0700

    ocfs2: Use BUG_ON
    
    Mainline commit b1f3550fa1471b691ad6c2f35b5b22e93eaa5855
    
    if (...) BUG(); should be replaced with BUG_ON(...) when the test has no
    side-effects to allow a definition of BUG_ON that drops the code completely.
    
    The semantic patch that makes this change is as follows:
    (http://www.emn.fr/x-info/coccinelle/)
    
    // <smpl>
    @ disable unlikely @ expression E,f; @@
    
    (
      if (<... f(...) ...>) { BUG(); }
    |
    - if (unlikely(E)) { BUG(); }
    + BUG_ON(E);
    )
    
    @@ expression E,f; @@
    
    (
      if (<... f(...) ...>) { BUG(); }
    |
    - if (E) { BUG(); }
    + BUG_ON(E);
    )
    // </smpl>
    
    Signed-off-by: Julia Lawall <julia at diku.dk>
    Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
    Signed-off-by: Mark Fasheh <mfasheh at suse.com>

commit d7286674956633f57e37e63865beb041e2e4b76c
Author: Jan Kara <jack at suse.cz>
Date:   Tue May 6 15:51:20 2008 -0700

    ocfs2: Improve rename locking
    
    Mainline commit 5dabd69515765156605b09261abf969236a77803
    
    ocfs2_rename() was being too aggressive with the rename lock - we only need
    it for certain forms of directory rename.
    
    Signed-off-by: Jan Kara <jack at suse.cz>
    Signed-off-by: Mark Fasheh <mfasheh at suse.com>

commit a36b52d8a87bb0c403f04662632cadc060eeaf8b
Author: Julia Lawall <julia at diku.dk>
Date:   Tue May 6 15:51:02 2008 -0700

    fs/ocfs2/aops.c: test for IS_ERR rather than 0
    
    Mainline commit 58dadcdbc2584db050969f9781727fc5a3f618db
    
    The function ocfs2_start_trans always returns either a valid pointer or a
    value made with ERR_PTR, so its result should be tested with IS_ERR, not
    with a test for 0.
    
    Signed-off-by: Julia Lawall <julia at diku.dk>
    Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
    Signed-off-by: Mark Fasheh <mfasheh at suse.com>

commit 34e075ae3759eb35fd55fc9bec0dd931f4593f5c
Author: Tao Ma <tao.ma at oracle.com>
Date:   Tue May 6 15:50:34 2008 -0700

    ocfs2: Add inode stealing for ocfs2_reserve_new_inode
    
    Mainline commit 4d0ddb2ce25db2254d468233d942276ecf40bff8
    
    Inode allocation is modified to look in other nodes allocators during
    extreme out of space situations. We retry our own slot when space is freed
    back to the global bitmap, or whenever we've allocated more than 1024 inodes
    from another slot.
    
    Signed-off-by: Tao Ma <tao.ma at oracle.com>
    Signed-off-by: Mark Fasheh <mfasheh at suse.com>

commit 828f7a8ce7e10da82e07c63666456abae940ece3
Author: Tao Ma <tao.ma at oracle.com>
Date:   Tue May 6 15:50:03 2008 -0700

    ocfs2: Add ac_alloc_slot in ocfs2_alloc_context
    
    Mainline commit a4a4891164d4f6f383cc17e7c90828a7ca6a1146
    
    In inode stealing, we no longer restrict the allocation to
    happen in the local node. So it is neccessary for us to add
    a new member in ocfs2_alloc_context to indicate which slot
    we are using for allocation. We also modify the process of
    local alloc so that this member can be used there also.
    
    Signed-off-by: Tao Ma <tao.ma at oracle.com>
    Signed-off-by: Sunil Mushran <sunil.mushran at oracle.com>
    Signed-off-by: Mark Fasheh <mfasheh at suse.com>

commit b39a707346292cc75da96637eba1547fc86bf19d
Author: Tao Ma <tao.ma at oracle.com>
Date:   Tue May 6 15:49:49 2008 -0700

    ocfs2: Add a new parameter for ocfs2_reserve_suballoc_bits
    
    Mainline commit ffda89a3bf3b968bdc268584c6bc1da5c173cf12
    
    In some cases(Inode stealing from other nodes), we may not want
    ocfs2_reserve_suballoc_bits to allocate new groups from the
    global_bitmap since it may already be full. So add a new parameter
    for this.
    
    Signed-off-by: Tao Ma <tao.ma at oracle.com>
    Signed-off-by: Sunil Mushran <sunil.mushran at oracle.com>
    Signed-off-by: Mark Fasheh <mfasheh at suse.com>

commit d372180b344c1689ca2ad4ba6e625e820ce09461
Author: Tao Ma <tao.ma at oracle.com>
Date:   Tue May 6 15:49:37 2008 -0700

    ocfs2: Enable cross extent block merge
    
    Mainline commit ad5a4d7093a76fa245e277e6f0f0e168a08aeff7
    
    In ocfs2_figure_merge_contig_type, we judge whether there exists
    a cross extent block merge and enable it by setting CONTIG_LEFT
    and CONTIG_RIGHT accordingly.
    
    Signed-off-by: Tao Ma <tao.ma at oracle.com>
    Signed-off-by: Mark Fasheh <mfasheh at suse.com>

commit cc97832835eb6b7d9139a6bd584cf2e238b0ec6b
Author: Tao Ma <tao.ma at oracle.com>
Date:   Tue May 6 15:49:15 2008 -0700

    ocfs2: Add support for cross extent block
    
    Mainline commit 677b975282e48d1818df4181336307377d56b04e
    
    In ocfs2_merge_rec_left, when we find the merge extent is "CONTIG_RIGHT"
    with the first extent record of the next extent block, we will merge it to
    the next extent block and change all the related extent blocks accordingly.
    
    In ocfs2_merge_rec_right, when we find the merge extent is "CONTIG_LEFT"
    with the last extent record of the previous extent block, we will merge
    it to the prevoius extent block and change all the related extent blocks
    accordingly.
    
    As for CONTIG_LEFTRIGHT, we will handle CONTIG_RIGHT first so that when
    the index is zero, the merge process will be more efficient and easier.
    
    Signed-off-by: Tao Ma <tao.ma at oracle.com>
    Signed-off-by: Mark Fasheh <mfasheh at suse.com>

commit d0cd95a833a1aa743a8d70a7ab55f7b6a534fc44
Author: Sunil Mushran <sunil.mushran at oracle.com>
Date:   Tue May 6 15:49:03 2008 -0700

    ocfs2/dlm: Cleanup lockres print
    
    Mainline commit 8f50eb978935431ccbf89b0344efd4ce6a924875
    
    A previous patch added KERN_NOTICE to printks printing the lockres that
    cluttered the output. This patch removes the log level. For people concerned
    with syslog clutter, please note we now use this facility to print lockres
    only during an error.
    
    Signed-off-by: Sunil Mushran <sunil.mushran at oracle.com>
    Signed-off-by: Mark Fasheh <mfasheh at suse.com>

commit c586973aca2273f60970140d634c563acdf5fdc6
Author: Sunil Mushran <sunil.mushran at oracle.com>
Date:   Tue May 6 15:48:52 2008 -0700

    ocfs2/dlm: Fix lockname in lockres print function
    
    Mainline commit c834cdb15702dd0147875b352cc7d4df93d7d900
    
    __dlm_print_one_lock_resource was printing lockname incorrectly.
    Also, we now use printk directly instead of mlog as the latter prints
    the line context which is not useful for this print.
    
    Signed-off-by: Sunil Mushran <sunil.mushran at oracle.com>
    Signed-off-by: Joel Becker <joel.becker at oracle.com>
    Signed-off-by: Mark Fasheh <mfasheh at suse.com>

commit 643549ba174da6799c8a52f052238a150145e4f9
Author: Sunil Mushran <sunil.mushran at oracle.com>
Date:   Tue May 6 15:48:43 2008 -0700

    ocfs2/dlm: Move dlm_print_one_mle() from dlmmaster.c to dlmdebug.c
    
    Mainline commit e5a0334cbd65e27f8dfd9985aa805874fe59e879
    
    This patch helps in consolidating debugging related functions in dlmdebug.c.
    
    Signed-off-by: Sunil Mushran <sunil.mushran at oracle.com>
    Signed-off-by: Joel Becker <joel.becker at oracle.com>
    Signed-off-by: Mark Fasheh <mfasheh at suse.com>

commit c8921bbb3126dc31acf46cf9aad6916a865f6604
Author: Sunil Mushran <sunil.mushran at oracle.com>
Date:   Tue May 6 15:48:34 2008 -0700

    ocfs2/dlm: Dumps the purgelist into a debugfs file
    
    Mainline commit 7209300a9b987e017cae2ef9d7ef55b0fdd71869
    
    This patch dumps all the lockres' on the purgelist it can fit in one page
    into a debugfs file. Useful for debugging.
    
    Signed-off-by: Sunil Mushran <sunil.mushran at oracle.com>
    Signed-off-by: Joel Becker <joel.becker at oracle.com>
    Signed-off-by: Mark Fasheh <mfasheh at suse.com>

commit d420ca1c13b1bd90221d010b4511e721f1ed4432
Author: Sunil Mushran <sunil.mushran at oracle.com>
Date:   Tue May 6 15:48:22 2008 -0700

    ocfs2/dlm: Dumps the mles into a debugfs file
    
    Mainline commit d0129aceaecc2b1f5171b8e8036eb469b6e0fe81
    
    This patch dumps all mles it can fit in one page into a debugfs file.
    Useful for debugging.
    
    Signed-off-by: Sunil Mushran <sunil.mushran at oracle.com>
    Signed-off-by: Joel Becker <joel.becker at oracle.com>
    Signed-off-by: Mark Fasheh <mfasheh at suse.com>

commit 4cbebb25e08fd64552dd3979b41235251fed98e5
Author: Sunil Mushran <sunil.mushran at oracle.com>
Date:   Tue May 6 15:48:10 2008 -0700

    ocfs2/dlm: Move struct dlm_master_list_entry to dlmcommon.h
    
    Mainline commit 751155a953e1fe558d3d3c3db7087712ffc15c3e
    
    This patch moves some mle related definitions from dlmmaster.c
    to dlmcommon.h. Future patches need these definitions to dump mle
    debugging information.
    
    Signed-off-by: Sunil Mushran <sunil.mushran at oracle.com>
    Signed-off-by: Joel Becker <joel.beckeroracle.com>
    Signed-off-by: Mark Fasheh <mfasheh at suse.com>

commit 7c622428f345e42055cec9396d0958c8119a0271
Author: Sunil Mushran <sunil.mushran at oracle.com>
Date:   Tue May 6 15:47:59 2008 -0700

    ocfs2/dlm: Dumps the lockres' into a debugfs file
    
    Mainline commit 4e3d24ed1a1285fe3289653aacc965642706bacb
    
    This patch dumps all the lockres' alongwith all the locks into
    a debugfs file. Useful for debugging.
    
    Signed-off-by: Sunil Mushran <sunil.mushran at oracle.com>
    Signed-off-by: Joel Becker <joel.becker at oracle.com>
    Signed-off-by: Mark Fasheh <mfasheh at suse.com>

commit f913db1be23108942d706d34f69e7dcd879d6735
Author: Sunil Mushran <sunil.mushran at oracle.com>
Date:   Tue May 6 15:47:47 2008 -0700

    ocfs2/dlm: Dump the dlm state in a debugfs file
    
    Mainline commit 007dce53a29ccffc000ab5373d188f73881390fd
    
    This patch dumps the dlm state (dlm_ctxt) into a debugfs file.
    Useful for debugging.
    
    Signed-off-by: Sunil Mushran <sunil.mushran at oracle.com>
    Signed-off-by: Joel Becker <joel.becker at oracle.com>
    Signed-off-by: Mark Fasheh <mfasheh at suse.com>

commit 57a8c76ebe4d23a32e406cfdfe2e9af29a3bba5e
Author: Sunil Mushran <sunil.mushran at oracle.com>
Date:   Wed May 7 14:50:55 2008 -0700

    ocfs2/dlm: Create debugfs dirs
    
    Mainline commit 6325b4a22b8f5e40ea9353288b3d6a32181f9718
    
    This patch creates the debugfs directories that will hold the
    files to be used to dump the dlm state.
    
    Signed-off-by: Sunil Mushran <sunil.mushran at oracle.com>
    Signed-off-by: Joel Becker <joel.becker at oracle.com>
    Signed-off-by: Mark Fasheh <mfasheh at suse.com>

commit aab346802bf060db2e0ebb1c9896d97100521814
Author: Sunil Mushran <sunil.mushran at oracle.com>
Date:   Tue May 6 15:46:51 2008 -0700

    ocfs2/dlm: Link all lockres' to a tracking list
    
    Mainline commit 29576f8bb54045be944ba809d4fca1ad77c94165
    
    This patch links all the lockres' to a tracking list in dlm_ctxt.
    We will use this in an upcoming patch that will walk the entire
    list and to dump the lockres states to a debugfs file.
    
    Signed-off-by: Sunil Mushran <sunil.mushran at oracle.com>
    Signed-off-by: Joel Becker <joel.becker at oracle.com>
    Signed-off-by: Mark Fasheh <mfasheh at suse.com>

commit cc496c940a412d6cc58200fbb46fccc0aecdb352
Author: Sunil Mushran <sunil.mushran at oracle.com>
Date:   Tue May 6 15:46:39 2008 -0700

    ocfs2/dlm: Create slabcaches for lock and lockres
    
    Mainline commit 724bdca9b8449d9ee5f779dc27ee3d906a04508c
    
    This patch makes the o2dlm allocate memory for lockres, lockname and lock
    structures from slabcaches rather than kmalloc. This allows us to not only
    make these allocs more efficient but also allows us to track the memory being
    consumed by these structures.
    
    Signed-off-by: Sunil Mushran <sunil.mushran at oracle.com>
    Signed-off-by: Joel Becker <joel.becker at oracle.com>
    Signed-off-by: Mark Fasheh <mfasheh at suse.com>

commit e8888dec9ebdee907dcb533d4aa456b578cd3f0b
Author: Sunil Mushran <sunil.mushran at oracle.com>
Date:   Tue May 6 15:46:23 2008 -0700

    ocfs2/dlm: Rename slabcache dlm_mle_cache to o2dlm_mle
    
    Mainline commit 12eb0035d6f0466038ef2c6e5f6f9296b9b74d91
    
    This patch renames dlm_mle_slabcache to prevent namespace clashes with fs/dlm.
    
    Signed-off-by: Sunil Mushran <sunil.mushran at oracle.com>
    Signed-off-by: Joel Becker <joel.becker at oracle.com>
    Signed-off-by: Mark Fasheh <mfasheh at suse.com>

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

Summary of changes:
 configure.in                    |    4 +-
 fs/ocfs2/alloc.c                |  465 ++++++++++++++++++---
 fs/ocfs2/aops.c                 |    6 +-
 fs/ocfs2/cluster/Makefile       |    1 +
 fs/ocfs2/cluster/netdebug.c     |  441 +++++++++++++++++++
 fs/ocfs2/cluster/nodemanager.c  |    5 +-
 fs/ocfs2/cluster/tcp.c          |  115 ++++--
 fs/ocfs2/cluster/tcp.h          |   32 ++
 fs/ocfs2/cluster/tcp_internal.h |   24 +-
 fs/ocfs2/dlm/Makefile           |    1 +
 fs/ocfs2/dlm/dlmcommon.h        |   49 +++
 fs/ocfs2/dlm/dlmdebug.c         |  913 ++++++++++++++++++++++++++++++++++++---
 fs/ocfs2/dlm/dlmdebug.h         |   86 ++++
 fs/ocfs2/dlm/dlmdomain.c        |   70 +++-
 fs/ocfs2/dlm/dlmlock.c          |   22 +-
 fs/ocfs2/dlm/dlmmaster.c        |  200 +++------
 fs/ocfs2/file.c                 |    4 +
 fs/ocfs2/journal.c              |    3 +-
 fs/ocfs2/localalloc.c           |    8 +-
 fs/ocfs2/namei.c                |    4 +-
 fs/ocfs2/ocfs2.h                |   34 ++-
 fs/ocfs2/suballoc.c             |  103 +++++-
 fs/ocfs2/suballoc.h             |    1 +
 fs/ocfs2/super.c                |    1 +
 fs/ocfs2/symlink.c              |    2 +
 25 files changed, 2278 insertions(+), 316 deletions(-)
 create mode 100644 fs/ocfs2/cluster/netdebug.c
 create mode 100644 fs/ocfs2/dlm/dlmdebug.h


hooks/post-receive
-- 
The ocfs2 filesystem version 1.4



More information about the Ocfs2-commits mailing list