login
Header Space

 
 

Re: Linux page cache issue?

Score:
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Xin Zhao <uszhaoxin@...>
Cc: linux-kernel <linux-kernel@...>, linux-fsdevel <linux-fsdevel@...>
Date: Wednesday, March 28, 2007 - 10:10 am

On Wed, 2007-03-28 at 02:45 -0400, Xin Zhao wrote:

Yes.


A comment from the top of fs/dcache.c:

/*
 * Notes on the allocation strategy:
 *
 * The dcache is a master of the icache - whenever a dcache entry
 * exists, the inode will always exist. "iput()" is done either when
 * the dcache entry is deleted or garbage collected.
 */

Basically, as long a a dentry is present, iput_final won't be called on
the inode.


Shaggy
-- 
David Kleikamp
IBM Linux Technology Center

-
To unsubscribe from this list: send the line "unsubscribe linux-fsdevel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Linux page cache issue?, Xin Zhao, (Wed Mar 28, 2:45 am)
Re: Linux page cache issue?, Dave Kleikamp, (Wed Mar 28, 10:10 am)
Re: Linux page cache issue?, Xin Zhao, (Wed Mar 28, 11:39 am)
Re: Linux page cache issue?, Jan Kara, (Thu Mar 29, 5:27 am)
Re: Linux page cache issue?, Xin Zhao, (Thu Mar 29, 10:41 am)
Re: Linux page cache issue?, Jan Kara, (Mon Apr 2, 8:51 am)
Re: Linux page cache issue?, Matthias Kaehlcke, (Wed Mar 28, 3:38 am)
Re: Linux page cache issue?, junjie cai, (Wed Mar 28, 3:35 am)
speck-geostationary