On Tue, Aug 01, 2006 at 05:22:46PM +0530, Kamal R. Prasad wrote: > > On 8/1/06, Sonny Rao <[EMAIL PROTECTED]> wrote: > > 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. > > > fine -I meant the JFS implementation on linux. > > 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 > > > as an example -yes.
Sorry, I'm a bit confused.. what is this an example of exactly? > 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. > > > looks like this doesn't answer my question. Thanks anyways. Ok, I'm not sure I really understand your question, can you elaborate? What do you mean by "dcache entry is still valid" ? What would cause an invalid inode to be in cache other than a deletion (nlink == 0) ? Are network filesystems involved in any way? ------------------------------------------------------------------------- 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