• Darrick J. Wong's avatar
    xfs: fix broken log reservation debugging · d31d7185
    Darrick J. Wong authored
    xlog_print_tic_res() is supposed to print a human readable string for
    each element of the log ticket reservation array.  Unfortunately, I
    forgot to update the string array when we added rmap & reflink support,
    so the debug message prints "region[3]: (null) - 352 bytes" which isn't
    useful at all.  Add the missing elements and add a build check so that
    we don't forget again to add a string when adding a new XLOG_REG_TYPE.
    Signed-off-by: default avatarDarrick J. Wong <darrick.wong@oracle.com>
    Reviewed-by: default avatarBrian Foster <bfoster@redhat.com>
    d31d7185
xfs_log.c 114 KB