login
Header Space

 
 

Re: ext3 lockdep warning in 2.6.25-rc6

Score:
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Jan Kara <jack@...>
Cc: Erez Zadok <ezk@...>, <sct@...>, <akpm@...>, <adilger@...>, <linux-ext4@...>, <linux-kernel@...>
Date: Tuesday, April 1, 2008 - 5:23 pm

In message <20080325182909.GD21732@atrey.karlin.mff.cuni.cz>, Jan Kara writes:

Jan, I'll be happy to test this, but I don't understand two things about
this patch:

1. Is it safe to unlock and re-lock inode_lock temporarily within the loop?

2. What's the motivation behind having the second toput_inode pointer?  It
   appears that the first iteration through the loop, toput_inode will be
   NULL, so we'll be iput'ing a NULL pointer (which is ok).  So you're
   trying to iput the previous inode pointer that the list iterated over,
   right?  Is that intended?

Peter's post:

	http://lkml.org/lkml/2008/3/23/202

includes a reference to a mail by Andrew which implies that the fix may be
much more involved than what you outlined above, no?

Thanks,
Erez.
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
ext3 lockdep warning in 2.6.25-rc6, Erez Zadok, (Sat Mar 22, 10:37 am)
Re: ext3 lockdep warning in 2.6.25-rc6, Jan Kara, (Tue Mar 25, 2:29 pm)
Re: ext3 lockdep warning in 2.6.25-rc6 , Erez Zadok, (Fri Apr 4, 11:37 am)
Re: ext3 lockdep warning in 2.6.25-rc6, Jan Kara, (Mon Apr 7, 7:47 am)
Re: ext3 lockdep warning in 2.6.25-rc6 , Erez Zadok, (Tue Apr 1, 5:23 pm)
Re: ext3 lockdep warning in 2.6.25-rc6, Jan Kara, (Wed Apr 2, 4:12 am)
Re: ext3 lockdep warning in 2.6.25-rc6, David Chinner, (Thu Apr 3, 11:14 pm)
Re: ext3 lockdep warning in 2.6.25-rc6 , Erez Zadok, (Wed Apr 2, 12:34 pm)
Re: ext3 lockdep warning in 2.6.25-rc6, Peter Zijlstra, (Sat Mar 22, 1:38 pm)
Re: ext3 lockdep warning in 2.6.25-rc6 , Erez Zadok, (Sat Mar 22, 6:34 pm)
Re: ext3 lockdep warning in 2.6.25-rc6, Peter Zijlstra, (Sun Mar 23, 7:06 am)
speck-geostationary