xfs
[Top] [All Lists]

Re: Corruption of root fs during git bisect of drm system hang

To: Dave Chinner <david@xxxxxxxxxxxxx>
Subject: Re: Corruption of root fs during git bisect of drm system hang
From: Markus Trippelsdorf <markus@xxxxxxxxxxxxxxx>
Date: Thu, 11 Jul 2013 06:15:00 +0200
Cc: xfs@xxxxxxxxxxx
Delivered-to: xfs@xxxxxxxxxxx
Dkim-signature: v=1; a=rsa-sha256; c=simple; d=mail.ud10.udmedia.de; h= date:from:to:cc:subject:message-id:references:mime-version :content-type:in-reply-to; s=beta; bh=qnGZZZyyvVtgXhvA1cXrEmTAHM 75imZzURsrSTv/gcg=; b=hZtypuvLvQMFUK7gVaeogFUCkyiapR8zfquSpWQ2Yc kkLpA7SxIJ+XEoXrBmJ4j4YHDu1tCBn7n7agkQKa7UoAkXuZeTPFH8xMRO0iCY+Y 1YCNqgshpUg0QttEycYqzNfpVzYd33nLasARf6xUt2e/aYkhYEoDD35r/SUKcvYI w=
In-reply-to: <20130711035827.GA3438@dastard>
References: <20130710090634.GA356@x4> <20130711003122.GR3438@dastard> <20130711033621.GB362@x4> <20130711035827.GA3438@dastard>
On 2013.07.11 at 13:58 +1000, Dave Chinner wrote:
> On Thu, Jul 11, 2013 at 05:36:21AM +0200, Markus Trippelsdorf wrote:
> > On 2013.07.11 at 10:31 +1000, Dave Chinner wrote:
> > > On Wed, Jul 10, 2013 at 11:06:34AM +0200, Markus Trippelsdorf wrote:
> > > > While bisecting a system hang, caused by the drm gpu subsystem, my root 
> > > > fs got
> > > > corrupted:
> > > 
> > > That's a filesystem that has unlinked inodes on the unlinked list.
> > > They get cleaned up during log replay. All the other "errors" are
> > > related to cleaning these up....
> > > 
> > > So what is making you think there is a corruption? What's the error
> > > being reported when you are using the filesystem? i.e. what's the
> > > entire process you go through before you get to finding this
> > > problem?
> > 
> > I was loosing my KDE settings bit by bit with every reboot during the
> > bisection. First my window-rules disappeared, then my desktop background
> > changed to default, then my taskbar moved from top to the bottom, etc.
> > In the end I had to restore all my .files from backup. 
> 
> That's not filesystem corruption. That sounds more like someone not
> using fsync in the apropriate place when overwriting a file....

Ok. Sorry for using the wrong term.

> > And please note that xfs_repair unlinked the inodes _after_ the
> > filesystem has been mounted and unmounted normally. 
> 
> Which means we might not be processing the unlinked lists correctly
> and leaking them. If repair is finding the inodes in the AGI
> unlinked lists, then recovery should be finding them, too. Not
> processing them and not clearing the AGI bucket tends to imply that
> recovery failed to read the AGI buffer.
> 
> What error messages are in dmesg, if any? And what kernel are you
> running?

There are no error messages in dmesg. I'm running the latest Linus tree.

-- 
Markus

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