xfs
[Top] [All Lists]

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

To: Dave Chinner <david@xxxxxxxxxxxxx>
Subject: Re: [PATCH 03/16] xfs: rmap btree add more reserved blocks
From: Christoph Hellwig <hch@xxxxxxxxxxxxx>
Date: Thu, 10 Mar 2016 06:22:07 -0800
Cc: xfs@xxxxxxxxxxx
Delivered-to: xfs@xxxxxxxxxxx
In-reply-to: <1457410578-30233-4-git-send-email-david@xxxxxxxxxxxxx>
References: <1457410578-30233-1-git-send-email-david@xxxxxxxxxxxxx> <1457410578-30233-4-git-send-email-david@xxxxxxxxxxxxx>
User-agent: Mutt/1.5.24 (2015-08-30)
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.

<Prev in Thread] Current Thread [Next in Thread>