Re: [PATCH 5/5] xfs: increase inode cluster size for v5 filesystems

Eric Sandeen
2013-11-14T18:51:55Z

On 10/31/13, 11:27 PM, Dave Chinner wrote:
> From: Dave Chinner <dchinner@redhat.com>
>
> v5 filesystems use 512 byte inodes as a minimum, so read inodes in
> clusters that are effectively half the size of a v4 filesystem with
> 256 byte inodes. For v5 fielsystems, scale the inode cluster size
> with the size of the inode so that we keep a constant 32 inodes per
> cluster ratio for all inode IO.

Ok, I'm happy with this now that I was reminded of the difference
between clusters & chunks. :/

Ben, regarding your compat concern, I agree w/ Dave that there
should be no failures moving forward or back; as he & I mentioned
(I had missed his other reply), the kernel already (used to) set
different cluster sizes based on the memory available in the machine
that mounted the filesystem.

So:

Reviewed-by: Eric Sandeen <sandeen@redhat.com>