public inbox for linux-xfs@vger.kernel.org
 help / color / mirror / Atom feed
* Re: [xfs-masters] filesystem corruption on xfs after 2.6.25-rc1 (bisected, powerpc related?)
       [not found] <20080225112310.GA5516@soziologie.ch>
@ 2008-02-25 18:15 ` Eric Sandeen
       [not found] ` <200802260052.57875.rjw@sisk.pl>
  1 sibling, 0 replies; 2+ messages in thread
From: Eric Sandeen @ 2008-02-25 18:15 UTC (permalink / raw)
  To: xfs-masters; +Cc: xfs, johannes, linux-kernel Mailing List

Gaudenz Steinlin wrote:
> Hi
> 
> Since upgrading to 2.6.25-rc1 I see filesystem corruption on my XFS
> filesystem. I can reproduce this by doing "git reset --hard v2.6.25-rc1"
> on a git checkout which is on some other revision. Git outputs strange
> error messages (like file xxx is a directory when xxx really is a file)
> and sometimes the filesystem "hangs" (I can no longer do any operations
> on it even from another shell). If I reboot with a working kernel and
> check the filesystem xfs_check reports many errors. I also see the
> problem when doing other (not related to git) operations on the
> filesystem. Git reset is just the easiest way to reproduce it.
> 
> I was able to track this corruption down to commit
> a69b176df246d59626e6a9c640b44c0921fa4566 ([XFS] Use the generic bitops
> rather than implementing them ourselves.) using git bisect.
> 
> Reverting edd319dc527733e61eec5bdc9ce20c94634b6482 ([XFS] Fix
> xfs_lowbit64) to avoid merge conflicts and the faulty commit on top of
> 2.6.25-rc3 fixes the problem.

If you're feeling motivated, maybe you can narrow it down to which of
the changes - xfs_highbit32, xfs_highbit64, xfs_lowbit32, or
xfs_lowbit64 - is causing the problem?  (or maybe they all are ...)

Or maybe someone looking at the commit can immediately see the
problem... but I can't :)

-Eric

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [xfs-masters] Re: filesystem corruption on xfs after 2.6.25-rc1 (bisected, powerpc related?)
       [not found]         ` <1204049492.13162.265.camel@johannes.berg>
@ 2008-02-28 14:40           ` Eric Sandeen
  0 siblings, 0 replies; 2+ messages in thread
From: Eric Sandeen @ 2008-02-28 14:40 UTC (permalink / raw)
  To: Johannes Berg
  Cc: Gaudenz Steinlin, Rafael J. Wysocki, Christoph Hellwig,
	xfs-masters, xfs, linux-kernel Mailing List, Andi Kleen

Johannes Berg wrote:
>> I debuged this a bit further by testing the 4 changed functions
>> individually. The problem only occurs with the new version of
>> xfs_lowbit64. 
...

> You really need to keep xfs_lowbit64 defined as it was before, or, maybe
> even better, define ffs64 in parallel to fls64.

Yep, I agree.

-Eric

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2008-02-28 14:40 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <20080225112310.GA5516@soziologie.ch>
2008-02-25 18:15 ` [xfs-masters] filesystem corruption on xfs after 2.6.25-rc1 (bisected, powerpc related?) Eric Sandeen
     [not found] ` <200802260052.57875.rjw@sisk.pl>
     [not found]   ` <20080225235703.GA17530@lst.de>
     [not found]     ` <200802260113.57875.rjw@sisk.pl>
     [not found]       ` <20080226114419.GA5353@soziologie.ch>
     [not found]         ` <1204049492.13162.265.camel@johannes.berg>
2008-02-28 14:40           ` [xfs-masters] " Eric Sandeen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox