On Mon, Jul 31, 2006 at 04:37:35PM +0530, Kamal R. Prasad wrote: > > Hello, > > > > I was looking at some stuff related to ext2 and it seems as if one can > look > at an inode, and map to an entry in the dcache and resolve inode to > filename > mapping. My question to this forum is:- > > > > -can the same technique be used with jfs2 on linux ? > > -can the same technique be used with jfs2 on AIX ? > > -is there a mechanism to suggest that the dcache entry for a jfs2 inode is > still valid?
First off, there is no such thing as "jfs2 on linux" JFS2 is similar to JFS on Linux and shares the same lineage but was separately developed. JFS on Linux was derived from JFS on OS/2. Since you've said dcache, I assume you are referring to the Linux dentry-cache ? In Linux, the dentry-cache and inode cache (vnode in non-Linux terms) are linked together directly. When a dentry exists in the cache, if it represents a real file, then it will have a pointer to the corresponding inode in memory. If a dentry exists and has a NULL pointer instead of a valid inode address, then it is a negative dentry, which means the file does not exist. I don't know how the AIX kernel implements it's caches but it is likely entierly different from Linux. ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Jfs-discussion mailing list Jfs-discussion@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jfs-discussion