[PATCH 08/12] repair: handle filesystems with the log in allocation group 0
Dave Chinner
david at fromorbit.com
Mon Dec 12 20:36:48 CST 2011
On Fri, Dec 02, 2011 at 12:46:27PM -0500, Christoph Hellwig wrote:
> Sindre Skogen reported that repair chokes on a very small filesystem created
> by mkfs.xfs from xfsprogs 2.9.4. It turned out that for some reason this
> filesystem had the log in allocation group 0 and thus repairs validation
> of the root inode number was off. Fix this by adding the log blocks if
> the log is allocated in allocation group 0.
>
> Reported-by: Sindre Skogen <sindre at workzone.no>
> Signed-off-by: Christoph Hellwig <hch at lst.de>
Looks good - handling all occurrences of the log in AG 0 is much
nicer.
Reviewed-by: Dave Chinner <dchinner at redhat.com>
--
Dave Chinner
david at fromorbit.com
More information about the xfs
mailing list