Re: XFS unlink still slow on 3.1.9 kernel ?

Richard Ems
2012-02-13T18:06:46Z

On 02/13/2012 07:02 PM, Christoph Hellwig wrote:
> On Mon, Feb 13, 2012 at 06:53:20PM +0100, Richard Ems wrote:
>> I will try to install a > 3.2 kernel and will create new XFS partitions
>> with "-i size=1024", since we use ACLs a lot for user access.
>> Is there a chance to change existing XFS partitions to "-i size=1024" ?
>
> Unfortunately not. Note that the speedups in 3.2 only matter for
> out of line attributes - once you store the ACLs inside the inode the
> code that makes it dog slow in old kernels is never used.

Ok, I see, many thanks.

So

1. use kernels > 3.2, if XFS partition was not created using "-i size=1024"

2. if XFS partition was created using "-i size=1024", kernels < 3.2 will
also be fast while unlinking files with out of line attributes

Right?

Thanks,
Richard