[Ocfs2-commits] branch, master, updated. ocfs2-1.4.0-88-g99f8a0a

svn-commits at oss.oracle.com svn-commits at oss.oracle.com
Wed Jan 14 12:25:17 PST 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 "The ocfs2 filesystem version 1.4".

The branch, master has been updated
       via  99f8a0aed260820afb524a673677b3b4c806ec50 (commit)
       via  e8a5772f4548ec2f3a09e62e1a4aa939472c9162 (commit)
       via  227159f264e3773186f0cd14620a6ce6b41173a3 (commit)
       via  4012322c3965be2343ebaa05c8dce0ae28b72364 (commit)
       via  ebee4c626b0ea7c108c4162038919fd365621799 (commit)
       via  c4e69c369f7b277541df34ff74a0b62a66ecb391 (commit)
       via  366cdd8b610a73c0358ed8883726a200f4a2cacd (commit)
       via  5361f43e30592f78f665c7f22ed1e5e6f7524214 (commit)
       via  ea20003ceb843a55fc5be52c9ef4574f928873ac (commit)
       via  f5d54cd78cebd80019e6c3dcad06b40ba7ed884d (commit)
       via  00047d2fbf0d390856abae4567e155d7514a6979 (commit)
       via  425c190fa6fd281ad6d9e581becd90064abd4f78 (commit)
       via  e452d59d88d14d14f5f3631c6afb28701cc84906 (commit)
       via  5f16e4471970a7b862bfb3a37a683999a137c30f (commit)
       via  e29a850a3bc10ae03b2cb4fa1308b4a0d7998b53 (commit)
      from  59d74fa97139f21aeb4d6773a11d0cb9fec33070 (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 99f8a0aed260820afb524a673677b3b4c806ec50
Author: Coly Li <coyli at suse.de>
Date:   Tue Jan 13 15:57:47 2009 -0800

    typos: fix similar typos to successfull
    
    Mainline commit 73ac36ea14fd18ea3dc057e41b16ff31a3c0bd5a
    
    When I review ocfs2 code, find there are 2 typos to "successfull".  After
    doing grep "successfull " in kernel tree, 22 typos found totally -- great
    minds always think alike :)
    
    This patch fixes all the similar typos. Thanks for Randy's ack and comments.
    
    Signed-off-by: Coly Li <coyli at suse.de>
    Acked-by: Randy Dunlap <randy.dunlap at oracle.com>
    Acked-by: Roland Dreier <rolandd at cisco.com>
    Cc: Jeremy Kerr <jk at ozlabs.org>
    Cc: Jeff Garzik <jeff at garzik.org>
    Cc: Heiko Carstens <heiko.carstens at de.ibm.com>
    Cc: Martin Schwidefsky <schwidefsky at de.ibm.com>
    Cc: Theodore Ts'o <tytso at mit.edu>
    Cc: Mark Fasheh <mfasheh at suse.com>
    Cc: Vlad Yasevich <vladislav.yasevich at hp.com>
    Cc: Sridhar Samudrala <sri at us.ibm.com>
    Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
    Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>

commit e8a5772f4548ec2f3a09e62e1a4aa939472c9162
Author: Frederik Schwarzer <schwarzerf at gmail.com>
Date:   Tue Jan 13 15:56:43 2009 -0800

    trivial: fix then -> than typos in comments and documentation
    
    Mainline commit 025dfdafe77f20b3890981a394774baab7b9c827
    
    - (better, more, bigger ...) then -> (...) than
    
    Signed-off-by: Frederik Schwarzer <schwarzerf at gmail.com>
    Signed-off-by: Jiri Kosina <jkosina at suse.cz>

commit 227159f264e3773186f0cd14620a6ce6b41173a3
Author: Sunil Mushran <sunil.mushran at oracle.com>
Date:   Tue Jan 13 15:55:38 2009 -0800

    ocfs2/dlm: Fix race during lockres mastery
    
    Mainline commit 7b791d68562e4ce5ab57cbacb10a1ad4ee33956e
    
    dlm_get_lock_resource() is supposed to return a lock resource with a proper
    master. If multiple concurrent threads attempt to lookup the lockres for the
    same lockid while the lock mastery in underway, one or more threads are likely
    to return a lockres without a proper master.
    
    This patch makes the threads wait in dlm_get_lock_resource() while the mastery
    is underway, ensuring all threads return the lockres with a proper master.
    
    This issue is known to be limited to users using the flock() syscall. For all
    other fs operations, the ocfs2 dlmglue layer serializes the dlm op for each
    lockid.
    
    Users encountering this bug will see flock() return EINVAL and dmesg have the
    following error:
    ERROR: Dlm error "DLM_BADARGS" while calling dlmlock on resource <LOCKID>: bad api args
    
    Reported-by: Coly Li <coyli at suse.de>
    Signed-off-by: Sunil Mushran <sunil.mushran at oracle.com>
    Signed-off-by: Mark Fasheh <mfasheh at suse.com>

commit 4012322c3965be2343ebaa05c8dce0ae28b72364
Author: Sunil Mushran <sunil.mushran at oracle.com>
Date:   Tue Jan 13 15:55:16 2009 -0800

    ocfs2/dlm: Fix race in adding/removing lockres' to/from the tracking list
    
    Mainline commit b0d4f817ba5de8adb875ace594554a96d7737710
    
    This patch adds a new lock, dlm->tracking_lock, to protect adding/removing
    lockres' to/from the dlm->tracking_list. We were previously using dlm->spinlock
    for the same, but that proved inadequate as we could be freeing a lockres from
    a context that did not hold that lock. As the new lock only protects this list,
    we can explicitly take it when removing the lockres from the tracking list.
    
    This bug was exposed when testing multiple processes concurrently flock() the
    same file.
    
    Signed-off-by: Sunil Mushran <sunil.mushran at oracle.com>
    Signed-off-by: Mark Fasheh <mfasheh at suse.com>

commit ebee4c626b0ea7c108c4162038919fd365621799
Author: Sunil Mushran <sunil.mushran at oracle.com>
Date:   Tue Jan 13 15:54:54 2009 -0800

    ocfs2/dlm: Hold off sending lockres drop ref message while lockres is migrating
    
    Mainline commit d4f7e650e55af6b235871126f747da88600e8040
    
    During lockres purge, o2dlm sends a drop reference message to the lockres
    master. This patch delays the message if the lockres is being migrated.
    
    Fixes oss bugzilla#1012
    http://oss.oracle.com/bugzilla/show_bug.cgi?id=1012
    
    Signed-off-by: Sunil Mushran <sunil.mushran at oracle.com>
    Signed-off-by: Mark Fasheh <mfasheh at suse.com>

commit c4e69c369f7b277541df34ff74a0b62a66ecb391
Author: Sunil Mushran <sunil.mushran at oracle.com>
Date:   Tue Jan 13 15:54:31 2009 -0800

    ocfs2/dlm: Clean up errors in dlm_proxy_ast_handler()
    
    Mainline commit 57dff2676eb68d805883a2204faaa5339ac44e03
    
    Patch cleans printed errors in dlm_proxy_ast_handler(). The errors now includes
    the node number that sent the (b)ast. Also it reduces the number of endian swaps
    of the cookie.
    
    Signed-off-by: Sunil Mushran <sunil.mushran at oracle.com>
    Signed-off-by: Mark Fasheh <mfasheh at suse.com>

commit 366cdd8b610a73c0358ed8883726a200f4a2cacd
Author: Sunil Mushran <sunil.mushran at oracle.com>
Date:   Tue Jan 13 15:54:09 2009 -0800

    ocfs2/dlm: Fix a race between migrate request and exit domain
    
    Mainline commit 2b83256407687613e906bee93d98a25339128a4d
    
    Patch address a racing migrate request message and an exit domain message.
    Instead of blocking exit domains for the duration of the migrate, we ignore
    failure to deliver that message. This is because an exiting domain should
    not have any active locks and thus has no role to play in the migration.
    
    Signed-off-by: Sunil Mushran <sunil.mushran at oracle.com>
    Signed-off-by: Mark Fasheh <mfasheh at suse.com>

commit 5361f43e30592f78f665c7f22ed1e5e6f7524214
Author: David Teigland <teigland at redhat.com>
Date:   Tue Jan 13 15:52:49 2009 -0800

    ocfs2: fix wake_up in unlock_ast
    
    Mainline commit 07f9eebcdfaeefc8f807fa1bcce1d7c3ae6661b1
    
    In ocfs2_unlock_ast(), call wake_up() on lockres before releasing
    the spin lock on it.  As soon as the spin lock is released, the
    lockres can be freed.
    
    Signed-off-by: David Teigland <teigland at redhat.com>
    Signed-off-by: Mark Fasheh <mfasheh at suse.com>

commit ea20003ceb843a55fc5be52c9ef4574f928873ac
Author: Coly Li <coyli at suse.de>
Date:   Tue Jan 13 15:52:29 2009 -0800

    ocfs2: comments typo fix
    
    Mainline commit 3b5da0189c93160e44b878d2c72e9552d642497c
    
    This patch fixes two typos in comments of ocfs2.
    
    Signed-off-by: Coly Li <coyli at suse.de>
    Signed-off-by: Mark Fasheh <mfasheh at suse.com>

commit f5d54cd78cebd80019e6c3dcad06b40ba7ed884d
Author: Dmitri Monakhov <dmonakhov at openvz.org>
Date:   Tue Jan 13 15:52:08 2009 -0800

    ocfs2: truncate outstanding block after direct io failure
    
    Mainline commit c435400140d24fbcb3da6b1e006be831f9056cb6
    
    Signed-off-by: Dmitri Monakhov <dmonakhov at openvz.org>
    Cc: Jeff Moyer <jmoyer at redhat.com>
    Cc: Mark Fasheh <mark.fasheh at oracle.com>
    Cc: Joel Becker <Joel.Becker at oracle.com>
    Cc: Nick Piggin <nickpiggin at yahoo.com.au>
    Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
    Signed-off-by: Mark Fasheh <mfasheh at suse.com>

commit 00047d2fbf0d390856abae4567e155d7514a6979
Author: Tao Ma <tao.ma at oracle.com>
Date:   Tue Jan 13 15:51:35 2009 -0800

    ocfs2: return 0 in page_mkwrite to let VFS retry.
    
    Mainline commit 4c1bbf1ba631d7db61ce3462349a3f5d14ae3009
    
    In ocfs2_page_mkwrite, we return -EINVAL when we found the page mapping
    isn't updated, and it will cause the user space program get SIGBUS and
    exit. The reason is that during race writeable mmap, we will do
    unmap_mapping_range in ocfs2_data_downconvert_worker. The good thing is
    that if we reuturn 0 in page_mkwrite, VFS will retry fault and then
    call page_mkwrite again, so it is safe to return 0 here.
    
    Signed-off-by: Tao Ma <tao.ma at oracle.com>
    Signed-off-by: Mark Fasheh <mfasheh at suse.com>

commit 425c190fa6fd281ad6d9e581becd90064abd4f78
Author: Jan Kara <jack at suse.cz>
Date:   Tue Jan 13 15:51:12 2009 -0800

    ocfs2: Let inode be really deleted when ocfs2_mknod_locked() fails
    
    Mainline commit b99835c1684918b9975851d71455c5c007d1715b
    
    We forgot to set i_nlink to 0 when returning due to error from ocfs2_mknod_locked()
    and thus inode was not properly released via ocfs2_delete_inode() (e.g. claimed
    space was not released). Fix it.
    
    Signed-off-by: Jan Kara <jack at suse.cz>
    Signed-off-by: Joel Becker <joel.becker at oracle.com>
    Signed-off-by: Mark Fasheh <mfasheh at suse.com>

commit e452d59d88d14d14f5f3631c6afb28701cc84906
Author: Sunil Mushran <sunil.mushran at oracle.com>
Date:   Tue Jan 13 17:35:03 2009 -0800

    ocfs2: Add helper clear_nlink()
    
    Commit ce71ec36840368b877fb63bd14c8e67ab62d08b1 in mainline introduced
    helper clear_nlink(). This patch adds the helper in kapi-include.
    
    Signed-off-by: Sunil Mushran <sunil.mushran at oracle.com>

commit 5f16e4471970a7b862bfb3a37a683999a137c30f
Author: Jan Kara <jack at suse.cz>
Date:   Tue Jan 13 15:50:46 2009 -0800

    ocfs2: Fix checking of return value of new_inode()
    
    Mainline commit 87cfa004321c62aec681713ea48e0b846336d9f4
    
    new_inode() does not return ERR_PTR() but NULL in case of failure. Correct
    checking of the return value.
    
    Signed-off-by: Jan Kara <jack at suse.cz>
    Signed-off-by: Joel Becker <joel.becker at oracle.com>
    Signed-off-by: Mark Fasheh <mfasheh at suse.com>

commit e29a850a3bc10ae03b2cb4fa1308b4a0d7998b53
Author: Jan Kara <jack at suse.cz>
Date:   Tue Jan 13 15:50:04 2009 -0800

    ocfs2: Fix check of return value of ocfs2_start_trans()
    
    Mainline commit fa38e92cb34e27e60d0faf1035934eb9b44aa1d4
    
    On failure, ocfs2_start_trans() returns values like ERR_PTR(-ENOMEM).
    Thus checks for !handle are wrong. Fix them to use IS_ERR().
    
    Signed-off-by: Jan Kara <jack at suse.cz>
    Signed-off-by: Joel Becker <joel.becker at oracle.com>
    Signed-off-by: Mark Fasheh <mfasheh at suse.com>

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

Summary of changes:
 Makefile                          |    3 +-
 configure.in                      |    5 +++
 fs/ocfs2/cluster/heartbeat.c      |    2 +-
 fs/ocfs2/dlm/dlmast.c             |   52 +++++++++++++++++++-----------------
 fs/ocfs2/dlm/dlmcommon.h          |    3 ++
 fs/ocfs2/dlm/dlmdebug.c           |   53 ++++++++++++++++--------------------
 fs/ocfs2/dlm/dlmdomain.c          |    1 +
 fs/ocfs2/dlm/dlmmaster.c          |   42 +++++++++++++++++++++++++---
 fs/ocfs2/dlm/dlmthread.c          |    3 +-
 fs/ocfs2/dlm/userdlm.h            |    2 +-
 fs/ocfs2/dlmglue.c                |    9 +++---
 fs/ocfs2/file.c                   |   27 ++++++++++++-------
 fs/ocfs2/mmap.c                   |    6 +++-
 fs/ocfs2/namei.c                  |    8 +++--
 fs/ocfs2/ocfs2.h                  |    2 +-
 kapi-compat/include/clear_nlink.h |   19 +++++++++++++
 16 files changed, 154 insertions(+), 83 deletions(-)
 create mode 100644 kapi-compat/include/clear_nlink.h


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



More information about the Ocfs2-commits mailing list