[PATCHv2 4/5] xfs: record log sector size rather than log2(that)
Christoph Hellwig
hch at infradead.org
Sun Apr 18 12:18:05 CDT 2010
On Fri, Apr 16, 2010 at 03:53:53PM -0500, Alex Elder wrote:
> Change struct log so it keeps track of the size (in basic blocks) of
> a log sector in l_sectBBsize rather than the log-base-2 of that
> value (previously, l_sectbb_log). The name was chosen for
> consistency with the other fields in the structure that represent
> a number of basic blocks.
>
> (Updated so that a variable used in computing and verifying a log's
> sector size is named "log2_size". Also added the "BB" to the
> structure field name, based on feedback from Eric Sandeen. Also
> dropped some superfluous parentheses.)
Looks good. Eventually we should replace all the "BB" with "bb" in
the log code, but for now this is a good enough.
More information about the xfs
mailing list