On Thu, Apr 12, 2012 at 02:15:25PM -0400, Chris Mason wrote:
> On Thu, Apr 12, 2012 at 02:08:37PM -0400, Josef Bacik wrote:
> > On Wed, Apr 11, 2012 at 11:59:43PM +0000, Francesco Cepparo wrote:
> > > I tried your patch but unfortunately the kernel still gives me the
> > > same error message :(
> >  
> > Weird, will you apply this patch on top of the one I sent you and send me 
> > the
> > dmesg when it panics again?  Thanks,
> > 
> > Josef
> > 
> > diff --git a/fs/btrfs/disk-io.c b/fs/btrfs/disk-io.c
> > index 2a3ddd2..51efb58 100644
> > --- a/fs/btrfs/disk-io.c
> > +++ b/fs/btrfs/disk-io.c
> > @@ -652,6 +652,8 @@ static int btree_io_failed_hook(struct page *page, int 
> > failed_mirror)
> >  
> >     eb = (struct extent_buffer *)page->private;
> >     set_bit(EXTENT_BUFFER_IOERR, &eb->bflags);
> > +   WARN_ON(!failed_mirror);
> > +   printk(KERN_ERR "io error, failed mirror %d\n");
>                                                     ^^^^^
> 
>                                                   , failed_mirror
> 

pfft compiling debug patches before sending them out is for losers,

Josef
--
To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to