lkml.org 
[lkml]   [1999]   [Nov]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: structure dentry help...
Trond Myklebust wrote:
> 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.

Is it even useful for `find'? A good find implementation does not
stat() everything.

> I'm still looking for a
> good heuristic before re-enabling it in the current NFSv3 client
> patches.

I'm wondering if a generic flag, either to open() or the new getdents
replacement (with d_type support) would be appropriate.

It would mean: "populate dentry cache and/or use READDIRPLUS over
NFSv3". In other words: "we're going to be doing lots of lookups in
this directory".

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