Message ID | 158904189253.982941.5576924652917825655.stgit@magnolia (mailing list archive) |
---|---|
State | Superseded |
Headers | show |
Series | xfs_repair: catch things that xfs_check misses | expand |
On Sat, May 09, 2020 at 09:31:32AM -0700, Darrick J. Wong wrote: > From: Darrick J. Wong <darrick.wong@oracle.com> > > During phase 4, if we find any extents that are unaccounted for, report > the entire extent, not just the first block. > > Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com> Looks good, Reviewed-by: Christoph Hellwig <hch@lst.de>
diff --git a/repair/phase4.c b/repair/phase4.c index a43413c7..191b4842 100644 --- a/repair/phase4.c +++ b/repair/phase4.c @@ -315,8 +315,8 @@ phase4(xfs_mount_t *mp) case XR_E_BAD_STATE: default: do_warn( - _("unknown block state, ag %d, block %d\n"), - i, j); + _("unknown block state, ag %d, blocks %u-%u\n"), + i, j, j + blen - 1); /* fall through .. */ case XR_E_UNKNOWN: case XR_E_FREE: