• Alex Elder's avatar
    xfs: record log sector size rather than log2(that) · 69ce58f0
    Alex Elder authored
    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.)
    Signed-off-by: default avatarAlex Elder <aelder@sgi.com>
    Reviewed-by: default avatarEric Sandeen <sandeen@sandeen.net>
    69ce58f0
xfs_log.c 105 KB