Re: Misc NFSv4 (was Re: statfs() / statvfs() syscall ballsup...)

From: Jamie Lokier
Date: Fri Oct 10 2003 - 10:54:19 EST


Trond Myklebust wrote:
> I can't tell as of yet whether or not the model chosen will include
> all the features of dnotify (for instance recall in case the
> attributes change on a subfile is a subject of hot debate), but
> certainly some of us are pushing for something like this.

Different types of delegation, depending on what the client asked for,
could be offered:

Cacheing readdir() and stat() on the directory requires delegation
without subfile recall; if there's a dnotify on the client, it
requires delegation with recall.

An uber-cool capability would be notification of sub-files to any
depth. You can't imagine how tedious it has been watching a makefile
take 5 minutes _just_ to run the "find" command on a source tree to
find newer files than the last successful make. (It was a big tree).
That was the optimised makefile. Without the "find" command, make's
own dependency logic took 20 minutes to do the same thing.

With any depth notifications, that would be eliminated to roughly zero
time, and just running the few compile commands that are needed.

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