All of lore.kernel.org
 help / color / mirror / Atom feed
From: Amon Ott <a.ott@m-privacy.de>
To: Sage Weil <sage@newdream.net>
Cc: ceph-devel@vger.kernel.org
Subject: Re: Circular lock / deadlock in kernel client
Date: Thu, 1 Dec 2011 17:24:47 +0100	[thread overview]
Message-ID: <201112011724.48724.a.ott@m-privacy.de> (raw)
In-Reply-To: <Pine.LNX.4.64.1112010812090.18236@cobra.newdream.net>

On Thursday 01 December 2011 wrote Sage Weil:
> On Thu, 1 Dec 2011, Amon Ott wrote:
> > On Wednesday 30 November 2011 wrote Sage Weil:
> > > I pushed a wip-i-ceph-lock branch to ceph-client.git that replaces our
> > > (ab?)use of i_lock with a new i_ceph_lock in the ceph inode.  This
> > > avoids being bitten by the lock ordering constraint imposed by igrab(),
> > > which requires i_lock to safely take a reference to an inode without
> > > racing with inode destruction.  This lets us keep two inode list locks
> > > logically ordered inside i_ceph_lock (with i_lock as an inner lock).
> >
> > I see the branch, but there is nothing new in it. Is that the right
> > location? Maybe forgot to push?
> >
> > https://github.com/NewDreamNetwork/ceph-client/tree/wip-i-ceph-lock
>
> Oops, I pushed the wrong branch.  It's there now.

Got the new commit, but it does not apply cleanly to my tree. I will try to 
get it merged tomorrow and retry. I cannot use kernel 3.2-pre here, the rest 
of the system needs to be stable.

Interesting note: Even though I got the deadlock message in syslog, the system 
worked fine for another few hours, until all the MDS processes died (see my 
other mail).

Amon Ott
-- 
Dr. Amon Ott
m-privacy GmbH           Tel: +49 30 24342334
Am Köllnischen Park 1    Fax: +49 30 24342336
10179 Berlin             http://www.m-privacy.de

Amtsgericht Charlottenburg, HRB 84946

Geschäftsführer:
 Dipl.-Kfm. Holger Maczkowsky,
 Roman Maczkowsky

GnuPG-Key-ID: 0x2DD3A649
--
To unsubscribe from this list: send the line "unsubscribe ceph-devel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

  reply	other threads:[~2011-12-01 16:25 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-11-30 12:21 Circular lock / deadlock in kernel client Amon Ott
2011-11-30 17:20 ` Sage Weil
2011-11-30 17:55   ` Sage Weil
2011-12-01  8:16     ` Amon Ott
2011-12-01 16:12       ` Sage Weil
2011-12-01 16:24         ` Amon Ott [this message]
2011-12-06 13:21           ` Amon Ott
2011-12-07 15:20             ` Amon Ott
2011-12-07 16:33               ` Sage Weil
2011-12-08  9:58                 ` Amon Ott
2011-12-08 13:39                   ` Amon Ott

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=201112011724.48724.a.ott@m-privacy.de \
    --to=a.ott@m-privacy.de \
    --cc=ceph-devel@vger.kernel.org \
    --cc=sage@newdream.net \
    /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.