xfs
[Top] [All Lists]

Re: xfs_repair segfaults with ag_stride option

To: Tom Crane <T.Crane@xxxxxxxxxx>
Subject: Re: xfs_repair segfaults with ag_stride option
From: Christoph Hellwig <hch@xxxxxxxxxxxxx>
Date: Thu, 2 Feb 2012 07:42:49 -0500
Cc: xfs@xxxxxxxxxxx
In-reply-to: <4F293FCC.7010101@xxxxxxxxxx>
References: <4F293FCC.7010101@xxxxxxxxxx>
User-agent: Mutt/1.5.21 (2010-09-15)
Hi Tom,

On Wed, Feb 01, 2012 at 01:36:12PM +0000, Tom Crane wrote:
> Dear XFS Support,
>    I am attempting to use xfs_repair to fix a damaged FS but always
> get a segfault if and only if -o ag_stride is specified. I have
> tried ag_stride=2,8,16 & 32.  The FS is approx 60T. I can't find
> reports of this particular problem on the mailing list archive.
> Further details are;
> 
> xfs_repair version 3.1.7, recently downloaded via git repository.
> uname -a
> Linux store3 2.6.18-274.17.1.el5 #1 SMP Wed Jan 11 11:10:32 CET 2012
> x86_64 x86_64 x86_64 GNU/Linux

Thanks for the detailed bug report.

Can you please try the attached patch?

Attachment: repair-fix-dirbuf
Description: Text document

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