lkml.org 
[lkml]   [2000]   [Mar]   [6]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: Does your change make find faster by changing where it is storedor where it is returned?
Hans Reiser wrote:
> The content is in the subject line. No more needed to be said.

The file type is already stored in the directory for all filesystems
that say "FULL SUPPORT".

The patch changes where it is returned -- by not having to call stat(),
the inode is not read from disk. As a bonus you reduce inode cache
thrashing.

For filesystems that store the inode in the directory itself, there is
no saving in I/O. You may as well return the type info anyway because
it reduces kernel inode cache thrashing and reduces the number of
syscalls.

enjoy,
-- Jamie


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/

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