OpenVZ Forum


Home » Mailing lists » Devel » [RFC PATCH ext3/ext4] orphan list corruption due bad inode
Re: [RFC PATCH ext3/ext4] orphan list corruption due bad inode [message #13777 is a reply to message #13774] Tue, 05 June 2007 06:13 Go to previous messageGo to previous message
Christoph Hellwig is currently offline  Christoph Hellwig
Messages: 59
Registered: April 2006
Member
On Tue, Jun 05, 2007 at 10:11:12AM +0400, Vasily Averin wrote:
> >> return d_splice_alias(inode, dentry);
> >> }
> > Seems reasonable. So this prevents the bad inodes from getting onto the
> > orphan list in the first place?
>
> make_bad_inode() is called from ext3_read_inode() that is called from iget() only.

Which is artefact of using the read_inode interface. Please switch from
iget to iget_locked and you can handle this case without ever inserting the
"bad" inode into the inode hash.
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: [Fwd: [PATCH -RSS 2/2] Fix limit check after reclaim]
Next Topic: Re: [Fwd: [PATCH -RSS 2/2] Fix limit check after reclaim]
Goto Forum:
  


Current Time: Sun Sep 07 00:37:14 GMT 2025

Total time taken to generate the page: 0.16847 seconds