linux-lvm.redhat.com archive mirror
 help / color / mirror / Atom feed
From: Dmitry Panov <dmitry.panov@yahoo.co.uk>
To: linux-lvm@redhat.com
Subject: Re: [linux-lvm] clvmd on cman waits forever holding the P_#global lock on node re-join
Date: Fri, 14 Dec 2012 10:45:17 +0000	[thread overview]
Message-ID: <50CB033D.7020102@yahoo.co.uk> (raw)
In-Reply-To: <20121214071040.GA10390@jajo.eggsoft>


On 14/12/12 07:10, Jacek Konieczny wrote:
> On Thu, Dec 13, 2012 at 11:04:40AM +0100, Zdenek Kabelac wrote:
>> Hmmm this rather looks like a logical problem either in
>> the if() expression in (select_status == 0) branch,
> No fix in the (select_status == 0) branch would solve anything, as the
> branch is never executed. This is the major problem here.
>
> Select has timeout set to 60 seconds, a few fd events come each minute
> -> the select never times out, select_status is always != 0.
>
> Shortening the cmd_timeout setting would work, but that would be only a
> workaround and would work until the fd events come even more often.
Applying my patch would solve the problem with timeout code not being 
run as well. And regardless of whether the underlying issue is fixed or 
not the timeout handling must be fixed too because we can't totally 
avoid timeouts (that's why the code is there).


-- 
Dmitry Panov

  reply	other threads:[~2012-12-14 10:45 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-12-12 23:14 [linux-lvm] clvmd on cman waits forever holding the P_#global lock on node re-join Dmitry Panov
2012-12-13 10:04 ` Zdenek Kabelac
2012-12-13 11:07   ` Dmitry Panov
2012-12-14  7:10   ` Jacek Konieczny
2012-12-14 10:45     ` Dmitry Panov [this message]
2012-12-14  7:14 ` Jacek Konieczny

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=50CB033D.7020102@yahoo.co.uk \
    --to=dmitry.panov@yahoo.co.uk \
    --cc=linux-lvm@redhat.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).