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

From: Jeremy Allison
Date: Sun Aug 08 2010 - 08:12:35 EST


On Fri, Aug 06, 2010 at 01:38:36PM +1000, Neil Brown wrote:
> I'm curious. Why do you particularly care what interface the kernel uses to
> provide you with access to this attribute?

It's a matter of taste. The *BSD's have this right IMHO. It
should be part of the stat information. A file timestamp is not
an EA. Making it available that way just feels like an appalingly
tasteless kludge. It offends the artist in me :-).

> Or do you really want something like BSD's 'btime' which as I understand it
> cannot be set. Would that be really useful to you?

It is *already* useful to us, and is widely used in
existing code. The occasions when btime is set are
relatively rare, and at that point we store it in a
separate EA for Windows reporting purposes.

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