xfs
[Top] [All Lists]

Re: Oops mounting a corrupted XFS filesystem (with the "kernel BUG" mess

To: Mark Tinguely <tinguely@xxxxxxx>
Subject: Re: Oops mounting a corrupted XFS filesystem (with the "kernel BUG" message)
From: Emmanuel Florac <eflorac@xxxxxxxxxxxxxx>
Date: Fri, 9 Jan 2015 16:45:34 +0100
Cc: XFS mailing list <xfs@xxxxxxxxxxx>
Delivered-to: xfs@xxxxxxxxxxx
In-reply-to: <54AFF6E0.3050303@xxxxxxx>
Organization: Intellique
References: <20150109120558.2610d8aa@xxxxxxxxxxxxxxxxxxxx> <54AFF6E0.3050303@xxxxxxx>
Le Fri, 09 Jan 2015 09:42:24 -0600
Mark Tinguely <tinguely@xxxxxxx> Ã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@xxxxxxxxxx>
> 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@xxxxxxxxxxxxxx>
                    |   +33 1 78 94 84 02
------------------------------------------------------------------------

<Prev in Thread] Current Thread [Next in Thread>