[PATCH 3/3] xfs: optimize the negative xattr caching
Alex Elder
aelder at sgi.com
Tue Jul 26 17:39:11 CDT 2011
On Tue, 2011-07-26 at 11:07 -0400, Christoph Hellwig wrote:
> Since the addition of file capabilities every write needs to read xattrs to
> check if we have any capabilities to clear. In Linux 3.0 Andi Kleen added
> a flag to cache the fact that we do not have any attributes on an inode.
> Make sure to already mark a file as not having any attributes when reading
> it from disk in case it doesn't even have an attribute fork. Based on an
> earlier patch from Andi Kleen.
>
> Signed-off-by: Christoph Hellwig <hch at lst.de>
Looks good to me.
Reviewed-by: Alex Elder <aelder at sgi.com>
More information about the xfs
mailing list