lkml.org 
[lkml]   [1997]   [Dec]   [31]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: Filesystem optimization..
From
Date
Bob Taylor <brtaylor@qtpi.lakewood.ca.us> writes:

> Hmm. I thought the file's inode WAS in the directory. Am I confused? If
> not, then how do you get to the file?

The inode _number_ is stored in the directory entry (for ext2fs), but
not the inode itself.

Michael is suggesting that since most directory accesses are followed
by either a stat or open, we should try to save a seek.

pjm.

\
 
 \ /
  Last update: 2005-03-22 13:40    [W:0.224 / U:0.008 seconds]
©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site