login
Header Space

 
 

Re: [PATCH] vfs: Fix lock inversion in drop_pagecache_sb()

Score:
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Jan Kara <jack@...>
Cc: <dgc@...>, <wfg@...>, <linux-kernel@...>
Date: Tuesday, March 25, 2008 - 3:53 pm

On Tue, 25 Mar 2008 19:12:27 +0100
Jan Kara <jack@suse.cz> wrote:


OT: it might be worth having an `if (mapping->nrpages==0) continue' here.


hrm.  So we have a random ref on an inode without holding inode_lock.  If
we race with invalidate_list() we end up with an inode stuck on s_inodes
and "Self-destruct in 5 seconds.  Have a nice day...", don't we?
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: [PATCH] vfs: Fix lock inversion in drop_pagecache_sb(), Andrew Morton, (Tue Mar 25, 3:53 pm)
Re: [PATCH] vfs: Fix lock inversion in drop_pagecache_sb(), Trond Myklebust, (Tue Mar 25, 6:01 pm)
speck-geostationary