[prev in list] [next in list] [prev in thread] [next in thread] 

List:       ocfs2-commits
Subject:    [Ocfs2-commits] branch, ocfs2-1.4.7-branch,
From:       svn-commits () oracle ! com
Date:       2011-05-20 8:08:30
Message-ID: E1QNKl3-0003ZS-WB () oss ! oracle ! com
[Download RAW message or body]

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, ocfs2-1.4.7-branch has been updated
       via  5fae9f37a128182ee8e69cdf99c35c641d3a05eb (commit)
      from  819b7fb222dafde3d5787ff4f15c3f88c3a6a129 (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 5fae9f37a128182ee8e69cdf99c35c641d3a05eb
Author: Tao Ma <tao.ma@oracle.com>
Date:   Mon Sep 13 12:30:29 2010 -0700

    ocfs2: Move orphan scan work to ocfs2_wq.
    
    Mainline Commit 40f165f416bde747d85cdf71bc9dde700912f71f
    We used to let orphan scan work in the default work queue,
    but there is a corner case which will make the system deadlock.
    The scenario is like this:
    1. set heartbeat threadshold to 200. this will allow us to have a
       great chance to have a orphan scan work before our quorum decision.
    2. mount node 1.
    3. after 1~2 minutes, mount node 2(in order to make the bug easier
       to reproduce, better add maxcpus=1 to kernel command line).
    4. node 1 do orphan scan work.
    5. node 2 do orphan scan work.
    6. node 1 do orphan scan work. After this, node 1 hold the orphan scan
       lock while node 2 know node 1 is the master.
    7. ifdown eth2 in node 2(eth2 is what we do ocfs2 interconnection).
    
    Now when node 2 begins orphan scan, the system queue is blocked.
    
    The root cause is that both orphan scan work and quorum decision work
    will use the system event work queue. orphan scan has a chance of
    blocking the event work queue(in dlm_wait_for_node_death) so that there
    is no chance for quorum decision work to proceed.
    
    This patch resolve it by moving orphan scan work to ocfs2_wq.
    
    Signed-off-by: Tao Ma <tao.ma@oracle.com>
    Signed-off-by: Joel Becker <joel.becker@oracle.com>

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

Summary of changes:
 fs/ocfs2/journal.c |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)


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

_______________________________________________
Ocfs2-commits mailing list
Ocfs2-commits@oss.oracle.com
http://oss.oracle.com/mailman/listinfo/ocfs2-commits
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic