[PATCH 03/16] xfs: rmap btree add more reserved blocks

Christoph Hellwig hch at infradead.org
Thu Mar 10 08:22:07 CST 2016


Sorry for the second reply to the same mail - I expect this defintion to
be in patch 7, where it logically belongs..

> +#define	XFS_RMAP_BLOCK(mp) \
>  	(xfs_sb_version_hasfinobt(&((mp)->m_sb)) ? \
>  	 XFS_FIBT_BLOCK(mp) + 1 : \
>  	 XFS_IBT_BLOCK(mp) + 1)

Is there any good reason for the variable offset for the rmap block.
Yes, it saves one otherwise unused block per AG, but fixed offsets
for metadata make a format much easier to understand.



More information about the xfs mailing list