Re: [PATCH 02/18] xstat: Add a pair of system calls to make extended file stats available [ver #6]

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Neil Brown
Date: Sunday, August 8, 2010 - 4:07 pm

On Sun, 8 Aug 2010 05:12:09 -0700
Jeremy Allison <jra@samba.org> wrote:


Unfortunately whenever you work on a collaborative project someone has to make
concessions to taste, as we all taste different.. (or have different taste..
or something).

So I think it is very important to clearly differentiate the practical issues
from the aesthetic issues as I think we can hope for unity on the former, but
never on the latter.


I'm probably sounding like a scratched record, but when you say "is widely
used" do you mean "is used in samba which is widely used" or do you mean "is
used in a wide variety of applications"?

Because if you are only saying the former, then I don't think we should copy
BSD, but rather I think we should provide exactly the semantics that are most
useful to samba - and that would seem to be creation-time and DOS flags which
the filesystem can store directly in the inode and which samba can access
cheaply.
(and I would prefer to use xattrs, but that is a taste thing and as I'm not
writing the code, I don't get to choose the taste).

But if you are saying the later, then sharing those details might help us see
that copying bsd is actually the best thing to do, or maybe that something
else is better.

I'm just afraid that if some new interface is added without clear,
comprehensive and up-front justification then we will end up getting a
sub-optimal interface.

NeilBrown
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH 00/18] Extended file stat functions [ver #6], David Howells, (Wed Jul 14, 7:17 pm)
Re: [PATCH 02/18] xstat: Add a pair of system calls to mak ..., Christoph Hellwig, (Sun Jul 18, 1:48 am)
Re: [PATCH 12/18] xstat: Add a dentry op to handle automou ..., Christoph Hellwig, (Sun Jul 18, 1:50 am)
Re: [PATCH 18/18] xstat: Provide a mechanism to gather ext ..., Christoph Hellwig, (Sun Jul 18, 1:51 am)
Re: [PATCH 02/18] xstat: Add a pair of system calls to mak ..., Neil Brown, (Sun Aug 8, 4:07 pm)