lkml.org 
[lkml]   [1999]   [Nov]   [2]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: structure dentry help...
From
Date
>>>>> Linus Torvalds <torvalds@transmeta.com> writes:

> information fully (like "readdir_long" on NFSv3, I think, and
> some other filesystems that just make directories be a list of
> inodes directly), then you can just fill in the full inode
> information directly and not play games with revalidate.

> Oh. And a final comment - I really don't think the above is
> necessarily a good idea. A lot of applications do more
> readdir() calls than they ever do lookups, and you might make
> readdir() slower by doing the dentry allocation with not enough
> gain at lookup time.

Indeed. The latter is the main problem with NFSv3's READDIRPLUS. It's
really only useful in the case when you're doing a 'find', but slows
things down considerably in all other cases. I'm still looking for a
good heuristic before re-enabling it in the current NFSv3 client
patches.

Cheers,
Trond

-
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:54    [W:0.442 / U:0.388 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site