lkml.org 
[lkml]   [2003]   [Oct]   [10]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
SubjectRe: statfs() / statvfs() syscall ballsup...
From
>>>>> " " == Jamie Lokier <jamie@shareable.org> writes:

> - are dnotify / lease / lock reliable indicators on this filesystem?
> (i.e. dnotify is reliable on all local filesystems, but
> not over any of the remote ones AFAIK).

Belongs in fcntl()... Just return ENOLCK if someone tries to set a
lease or a directory notification on an NFS file...

> - is stat() reliable (local filesystems and many remote) or
> potentially out of date without open/close (NFS due to
> attribute cacheing)

There are many possible cache consistency models out there. Consider
for instance AFS connected/disconnected modes, NFSv4 delegations or
CIFS shares. How are you going to distinguish between them all and
how do you propose that applications make use of this information?

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

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