[PATCH 5/5] xfs: increase inode cluster size for v5 filesystems
Eric Sandeen
sandeen at sandeen.net
Thu Nov 14 12:51:52 CST 2013
On 10/31/13, 11:27 PM, Dave Chinner wrote:
> From: Dave Chinner <dchinner at 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 at redhat.com>
More information about the xfs
mailing list