• D
    xfs: fix broken log reservation debugging · d31d7185
    Darrick J. Wong 提交于
    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: NDarrick J. Wong <darrick.wong@oracle.com>
    Reviewed-by: NBrian Foster <bfoster@redhat.com>
    d31d7185
xfs_log.c 113.9 KB