[PATCH 0/6] Extended file stat system call
Myklebust, Trond
Trond.Myklebust-HgOvQuBEEgTQT0dZR+AlfA at public.gmane.org
Fri Apr 27 01:30:30 BST 2012
On Thu, 2012-04-26 at 22:57 +0100, David Howells wrote:
> Myklebust, Trond <Trond.Myklebust at netapp.com> wrote:
>
> > You are still not explaining why they need to know the values at all? If
> > the values are bogus, then don't return them, and don't set the flag
> > that says they are being returned.
> th
> What if the xstat() and struct xstat eventually becomes what userspace uses as
> stat() (as a wrapper) and struct stat (if such a thing is possible with glibc
> versioning)? Do older programs that think they're using stat() and don't know
> about the extra fields available expect to see a useful value in st_ino?
Does it really matter whether it is the kernel or userland that is
responsible for faking up inode numbers? If userland wants to use
xstat() in order to fake up a stat() call, then it gets to take
responsibility for the results.
--
Trond Myklebust
Linux NFS client maintainer
NetApp
Trond.Myklebust at netapp.com
www.netapp.com
More information about the kfm-devel
mailing list