Re: btrfs csum failed on git .pack file

2009-09-08 Thread Markus Trippelsdorf
On Tue, Sep 08, 2009 at 10:32:14PM +0200, Jens Axboe wrote: > On Tue, Sep 08 2009, Markus Trippelsdorf wrote: > > On Tue, Sep 08, 2009 at 10:00:42PM +0200, Jens Axboe wrote: > > > On Mon, Sep 07 2009, Markus Trippelsdorf wrote: > > > > Just got this error today in my dmesg: > > > > btrfs csum faile

Re: btrfs csum failed on git .pack file

2009-09-08 Thread Tracy Reed
On Tue, Sep 08, 2009 at 10:22:11PM +0200, Markus Trippelsdorf spake thusly: > I've already deleted the file in question unfortunately. > On IRC Chris decided that either bad RAM or a harddrive error was the > most likely reason for this chechsum mismatch. Which raises an interesting point: I know

Re: Question about back references

2009-09-08 Thread Peter Macko
Thanks! I have a follow up question: Are back references reference counted? If so, this should mean that after the file system COWs an inode, it must increase the reference counts of its file extent back references. Do we know what is the overhead? In the case they are not reference counted, ho

Re: btrfs csum failed on git .pack file

2009-09-08 Thread Tomasz Torcz
On Tue, Sep 08, 2009 at 10:32:14PM +0200, Jens Axboe wrote: > On Tue, Sep 08 2009, Markus Trippelsdorf wrote: > > On Tue, Sep 08, 2009 at 10:00:42PM +0200, Jens Axboe wrote: > > > On Mon, Sep 07 2009, Markus Trippelsdorf wrote: > > > > Just got this error today in my dmesg: > > > > btrfs csum faile

Re: btrfs csum failed on git .pack file

2009-09-08 Thread Jens Axboe
On Tue, Sep 08 2009, Markus Trippelsdorf wrote: > On Tue, Sep 08, 2009 at 10:00:42PM +0200, Jens Axboe wrote: > > On Mon, Sep 07 2009, Markus Trippelsdorf wrote: > > > Just got this error today in my dmesg: > > > btrfs csum failed ino 1483065 off 158482432 csum 4283543305 private > > > 43905798 >

Re: btrfs csum failed on git .pack file

2009-09-08 Thread Markus Trippelsdorf
On Tue, Sep 08, 2009 at 10:00:42PM +0200, Jens Axboe wrote: > On Mon, Sep 07 2009, Markus Trippelsdorf wrote: > > Just got this error today in my dmesg: > > btrfs csum failed ino 1483065 off 158482432 csum 4283543305 private 43905798 > > > > linux % find . -inum 1483065 > > ./.git/objects/pack/pac

Re: btrfs csum failed on git .pack file

2009-09-08 Thread Jens Axboe
On Mon, Sep 07 2009, Markus Trippelsdorf wrote: > Just got this error today in my dmesg: > btrfs csum failed ino 1483065 off 158482432 csum 4283543305 private 43905798 > > linux % find . -inum 1483065 > ./.git/objects/pack/pack-f9251bcc6a8afe3c92193e14d1d742f2f0182ce5.pack > > It's the main pack

Re: [PATCH] don't OOPs when we are not raid56

2009-09-08 Thread Chris Mason
On Tue, Sep 08, 2009 at 10:15:29AM +0100, David Woodhouse wrote: > On Wed, 2009-09-02 at 12:32 -0400, jim owens wrote: > > @@ -2895,7 +2895,7 @@ again: > > multi->num_stripes = num_stripes; > > multi->max_errors = max_errors; > > } > > - if (raid_map_re

Re: [PATCH] don't OOPs when we are not raid56

2009-09-08 Thread David Woodhouse
On Wed, 2009-09-02 at 12:32 -0400, jim owens wrote: > @@ -2895,7 +2895,7 @@ again: > multi->num_stripes = num_stripes; > multi->max_errors = max_errors; > } > - if (raid_map_ret) { > + if (raid_map) { > sort_parity_stripes(multi, r