lkml.org 
[lkml]   [1998]   [Jan]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: file system building
Date
> The file system is not inode driven, which forces me to invent a inode
> number for the iget(). I choose this inode number to the address of the
> xnode.

Just make sure the inode number is the same for a given object.
Seems many programs care about inode numbers.

> The problem is, when the inode is cached in the dcache, it must have been
> created by the iget(sb,xnode), and the reference count should be 0

Stuff in the dcache has an inode count >0 as dcache is using the inode.

--
Andrew E. Mileski mailto:aem@netcom.ca

\
 
 \ /
  Last update: 2005-03-22 13:41    [W:0.027 / U:0.780 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site