Re: statfs() / statvfs() syscall ballsup...

From: Jamie Lokier
Date: Fri Oct 10 2003 - 09:41:33 EST


Trond Myklebust wrote:
> > I don't care about the cache semantics at all; what I care
> > about is whether a returned stat() result may be stale.
>
> Note that this too may be a per-file property.

Yes. A flag from stat() or similar to say it's stale would make
sense. Alternatively, a flag _into_ something like stat() to ask for
an up to date value, if that is possible.

I've often wondered if stat() couldn't be a bit more extensible with
some flags or extended attributes.

-- 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/