Oops mounting a corrupted XFS filesystem (with the "kernel BUG" message)

Emmanuel Florac eflorac at intellique.com
Fri Jan 9 09:45:34 CST 2015


Le Fri, 09 Jan 2015 09:42:24 -0600
Mark Tinguely <tinguely at sgi.com> écrivait:

> The double free oops part of this bug was my fault and fixed as part
> of a log recovery reorganization:
> 
> commit 88b863db97a18a04c90ebd57d84e1b7863114dcb
> Author: Dave Chinner <dchinner at redhat.com>
> Date:   Mon Sep 29 09:45:32 2014 +1000
> 
>      xfs: fix double free in xlog_recover_commit_trans
> 
>      When an error occurs during buffer submission in
>      xlog_recover_commit_trans(), we free the trans structure twice.
> Fix it by only freeing the structure in the caller regardless of the
>      success or failure of the function.
> 
> The original corrupted metadata is probably caused by your RAID.
> 

Yes, probably. But the part with "kernel BUG" probably isn't :)

-- 
------------------------------------------------------------------------
Emmanuel Florac     |   Direction technique
                    |   Intellique
                    |	<eflorac at intellique.com>
                    |   +33 1 78 94 84 02
------------------------------------------------------------------------



More information about the xfs mailing list