public inbox for linux-fsdevel@vger.kernel.org
 help / color / mirror / Atom feed
From: Livio Baldini Soares <livio@ime.usp.br>
To: Andreas Dilger <adilger@clusterfs.com>
Cc: Neil Brown <neilb@cse.unsw.edu.au>, linux-fsdevel@vger.kernel.org
Subject: Re: Race with inodes in I_FREEING state
Date: Fri, 13 Jun 2003 10:00:27 -0300	[thread overview]
Message-ID: <20030613130026.GA17572@ime.usp.br> (raw)
In-Reply-To: <20030613013547.A26944@schatzie.adilger.int>

  Hey!

Andreas Dilger writes:
> On Jun 13, 2003  15:02 +1000, Neil Brown wrote:
> > > On Friday June 13, livio@ime.usp.br wrote:
[...]

> > >   Does this not also happen in  version 2.4.20? Can anybody tell me if
> > > my logic is  wrong, or if I'm just plain doing  something stupid in my
> > > FS?
> > 
> > Yep.  It sound like the same race.  I wasn't going to submit a 2.4
> > patch until the 2.5 one went in.  I hope to submit the 2.4 equivalent
> > when 2.4.22-pre opens up.

  Ah, _great_! Thanks a lot Niel.

> Sigh, we've just spent a week chasing exactly this same race in Lustre
> on 2.4.  It also stores pointers to shared data in the inode (DLM locks)
> which are freed when clear_inode() is called.  We fixed it only a few
> hours ago by not matching our hashed locks if they are not for the same
> inode _pointer_ instead of just for the same inode _number_/generation,
> which is what the distributed lock name is.

  Humm.. interesting  work around.  Except,  my FS, the hashed  data I
have  in the  inode's private  parts has  no idea  that an  inode even
_exists_.  Guess I'll  have to  start keeping  a back  pointer  to the
inode, until this is fixed. Darn.

> If only Livio had posted this email last week ;-).

  Oops, sorry about that! :-P But  you too, could of sent this earlier
and saved me 2 days of  doing absolutely nothing except looking into a
monitor ;-)

  Cheers!!

--  
  Livio B. Soares

      reply	other threads:[~2003-06-13 12:46 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-06-13  3:44 Race with inodes in I_FREEING state Livio Baldini Soares
2003-06-13  5:02 ` Neil Brown
2003-06-13  7:35   ` Andreas Dilger
2003-06-13 13:00     ` Livio Baldini Soares [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=20030613130026.GA17572@ime.usp.br \
    --to=livio@ime.usp.br \
    --cc=adilger@clusterfs.com \
    --cc=linux-fsdevel@vger.kernel.org \
    --cc=neilb@cse.unsw.edu.au \
    /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