[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20090412205505.GJ4394@shareable.org>
Date: Sun, 12 Apr 2009 21:55:05 +0100
From: Jamie Lokier <jamie@...reable.org>
To: Ulrich Drepper <drepper@...il.com>
Cc: Andreas Dilger <adilger@....com>, Jeff Garzik <jeff@...zik.org>,
Oleg Drokin <green@...uxhacker.ru>,
linux-fsdevel@...r.kernel.org, LKML <linux-kernel@...r.kernel.org>
Subject: Re: Attempt at "stat light" implementation
Ulrich Drepper wrote:
> As for making the interface extendable. In all the years there hasn't
> really been much need to extend the stat structure (ignoring extended
> attributes). So, I'd not be worried about using a simple 32-bit
> bitmask to select the fields to include in the fast stat.
I agree about 32 bits being enough.
I think there has been some demand for new fields, but it's not been
strong enough to justify all the breakage from changing the normal
stat structure.
That's why we have generic filesystem ioctls: FS_IOC_GETFLAGS,
FS_IOC_GETVERSION, which return things which would naturally go with
stat if it were free to do so (but it isn't).
-- Jamie
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists