All of lore.kernel.org
 help / color / mirror / Atom feed
From: Pete Zaitcev <zaitcev@redhat.com>
To: Jeff Garzik <jeff@garzik.org>
Cc: Project Hail List <hail-devel@vger.kernel.org>
Subject: Re: Post-XDR CLD cannot keep session up
Date: Tue, 9 Feb 2010 09:12:06 -0700	[thread overview]
Message-ID: <20100209091206.07df7ea2@redhat.com> (raw)
In-Reply-To: <4B714FCF.1060708@garzik.org>

On Tue, 09 Feb 2010 07:06:39 -0500
Jeff Garzik <jeff@garzik.org> wrote:

> There is definitely something strange going on in the timer routines, 
> that is causing session_timeout() not to run even though it re-adds 
> itself to the timer list using cld_timer_add().  fprintf() debug output 
> in cld_timer_add and cld_timers_run are yielding unexpected results.

Shoot, I think I know what this is, and it's my fault. The list is
"cached" improperly inside cld_timers_run. I remember that at some
point I added a mutex to every list and noticed that the list wasn't
locked correctly, so fixed it. But then I dropped those mutexes because
of some recursion issues and undone the fix. I'll retest and send a
patch in a few.

-- Pete

      reply	other threads:[~2010-02-09 16:12 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-02-07  7:00 Post-XDR CLD cannot keep session up Pete Zaitcev
2010-02-07 22:28 ` Jeff Garzik
2010-02-09 10:34 ` Jeff Garzik
2010-02-09 12:06   ` Jeff Garzik
2010-02-09 16:12     ` Pete Zaitcev [this message]

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=20100209091206.07df7ea2@redhat.com \
    --to=zaitcev@redhat.com \
    --cc=hail-devel@vger.kernel.org \
    --cc=jeff@garzik.org \
    /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.