- Subject: Re: [PATCH 0/6] Extended file stat system call
- From: David Howells <dhowells@xxxxxxxxxx>
- Date: Fri, 27 Apr 2012 10:19:09 +0100
- Cc: dhowells@xxxxxxxxxx, Steve French <smfrench@xxxxxxxxx>, "linux-fsdevel@xxxxxxxxxxxxxxx" <linux-fsdevel@xxxxxxxxxxxxxxx>, "linux-nfs@xxxxxxxxxxxxxxx" <linux-nfs@xxxxxxxxxxxxxxx>, "linux-cifs@xxxxxxxxxxxxxxx" <linux-cifs@xxxxxxxxxxxxxxx>, "samba-technical@xxxxxxxxxxxxxxx" <samba-technical@xxxxxxxxxxxxxxx>, "linux-ext4@xxxxxxxxxxxxxxx" <linux-ext4@xxxxxxxxxxxxxxx>, "wine-devel@xxxxxxxxxx" <wine-devel@xxxxxxxxxx>, "kfm-devel@xxxxxxx" <kfm-devel@xxxxxxx>, "nautilus-list@xxxxxxxxx" <nautilus-list@xxxxxxxxx>, "linux-api@xxxxxxxxxxxxxxx" <linux-api@xxxxxxxxxxxxxxx>, "libc-alpha@xxxxxxxxxxxxxx" <libc-alpha@xxxxxxxxxxxxxx>
- In-reply-to: <3F302713-B675-4BAA-B2B7-235E03C5975F@dilger.ca>
- Organization: Red Hat UK Ltd. Registered Address: Red Hat UK Ltd, Amberley Place, 107-111 Peascod Street, Windsor, Berkshire, SI4 1TE, United Kingdom. Registered in England and Wales under Company Registration No. 3798903
- References: <3F302713-B675-4BAA-B2B7-235E03C5975F@dilger.ca> <CAH2r5mv1Lijdwk5zsQwYJr4Etb6fhrRyNXm-iFCQX+HecboGrQ@mail.gmail.com> <20120419140558.17272.74360.stgit@warthog.procyon.org.uk> <CAH2r5ms4WQV3DnTvqNN=2N71Cj8UHwj8Z6+RHXgrAOv6mSoyQg@mail.gmail.com> <20656.1335450358@redhat.com> <24787.1335455535@redhat.com>
Andreas Dilger <adilger@xxxxxxxxx> wrote:
> > However, since there is a remote file ID, we could add an
> > XSTAT_INFO_FILE_ID flag to indicate there's a standard xattr holding this.
>
> It is a bit strange that the kernel would return a flag that was not
> requested, but not fatal.
On the other hand, if it costs the kernel nothing to generate this indicator...
For network filesystems, for instance, you might know that there is some other
file ID because of the way the fs is specified.
I was thinking that many of the fields will be given values, even if you don't
ask for them, because the values (or approximations thereof) are present in
memory already.
David
--
To unsubscribe from this list: send the line "unsubscribe linux-api" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
[Home]
[Linux USB Devel]
[Video for Linux]
[Linux Audio Users]
[Photo]
[Yosemite News]
[Yosemite Photos]
[Free Online Dating]
[Linux Kernel]
[Linux SCSI]
[XFree86]