All of lore.kernel.org
 help / color / mirror / Atom feed
From: Sunil Mushran <sunil.mushran@oracle.com>
To: ocfs2-devel@oss.oracle.com
Subject: [Ocfs2-devel] dlm stress test hangs OCFS2
Date: Thu, 03 Sep 2009 09:24:12 -0700	[thread overview]
Message-ID: <4A9FEDAC.50704@oracle.com> (raw)
In-Reply-To: <4A9FEDA8.3080108@suse.de>

You will have to trace thru process_blocked_lock() to make sense of this.

Coly Li wrote:
> Sunil Mushran Wrote:
>   
>> So the thread is removing the lockres from the list (thus making
>> the count 0), and then calling ocfs2_process_blocked_lock() which
>> is adding that lockres back in the list (thus 1).
>>
>> Trace ocfs2_process_blocked_lock() to see as to why it is putting it
>> back on the list.
>>     
>>> 2) when the blocking happens, the number sequence of
>>> osb->blocked_lock_count is
>>> always like this,
>>> ocfs2_downconvert_thread_do_work:3725: osb->blocked_lock_count: 0
>>> ocfs2_downconvert_thread_do_work:3725: osb->blocked_lock_count: 1
>>> ocfs2_downconvert_thread_do_work:3725: osb->blocked_lock_count: 0
>>> ocfs2_downconvert_thread_do_work:3725: osb->blocked_lock_count: 1
>>> ocfs2_downconvert_thread_do_work:3725: osb->blocked_lock_count: 0
>>> ocfs2_downconvert_thread_do_work:3725: osb->blocked_lock_count: 1
>>> ocfs2_downconvert_thread_do_work:3725: osb->blocked_lock_count: 0
>>> ocfs2_downconvert_thread_do_work:3725: osb->blocked_lock_count: 1
>>> ocfs2_downconvert_thread_do_work:3725: osb->blocked_lock_count: 0
>>> ocfs2_downconvert_thread_do_work:3725: osb->blocked_lock_count: 1
>>> ocfs2_downconvert_thread_do_work:3725: osb->blocked_lock_count: 0
>>> ocfs2_downconvert_thread_do_work:3725: osb->blocked_lock_count: 1
>>> ocfs2_downconvert_thread_do_work:3725: osb->blocked_lock_count: 0
>>> ocfs2_downconvert_thread_do_work:3725: osb->blocked_lock_count: 1
>>> ocfs2_downconvert_thread_do_work:3725: osb->blocked_lock_count: 0
>>> ocfs2_downconvert_thread_do_work:3725: osb->blocked_lock_count: 1
>>> ocfs2_downconvert_thread_do_work:3725: osb->blocked_lock_count: 0
>>> ocfs2_downconvert_thread_do_work:3725: osb->blocked_lock_count: 1
>>> (all are 0-1-0-1-0-1-... in a regular sequence)
>>>
>>>       
>
> I also observed even when no file is created or unlinked, I did nothing. From
> dmesg output, the above information still infinite running, on both nodes.
>
>
>
>   

  reply	other threads:[~2009-09-03 16:24 UTC|newest]

Thread overview: 24+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-08-18 19:26 [Ocfs2-devel] dlm stress test hangs OCFS2 Coly Li
2009-08-18 19:34 ` David Teigland
2009-08-19  3:06 ` Sunil Mushran
2009-09-02 17:11   ` Coly Li
2009-09-02 22:01     ` Sunil Mushran
2009-09-03 16:24       ` Coly Li
2009-09-03 16:24         ` Sunil Mushran [this message]
2009-09-09 20:07           ` Coly Li
2009-09-09 21:42             ` Sunil Mushran
2009-09-10  5:38               ` Coly Li
2009-09-11 22:57                 ` Sunil Mushran
2009-09-13 14:08                   ` Coly Li
2009-09-14 19:30                     ` Sunil Mushran
2009-09-14 20:23                       ` Coly Li
2009-09-14 23:57                         ` Sunil Mushran
2009-09-15  7:11                           ` Coly Li
2009-09-16  0:49                             ` Sunil Mushran
2009-09-21 17:25                               ` Coly Li
2009-09-21 17:25                                 ` Sunil Mushran
2009-09-21 17:31                                   ` Sunil Mushran
2009-09-21 17:43                                     ` Coly Li
2009-09-21 19:03                                     ` Coly Li
2009-09-23  6:32                               ` [Ocfs2-devel] questions of AST and BAST (was Re: dlm stress test hangs OCFS2) Coly Li
2009-09-23 18:21                                 ` Sunil Mushran

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4A9FEDAC.50704@oracle.com \
    --to=sunil.mushran@oracle.com \
    --cc=ocfs2-devel@oss.oracle.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.