Re: kernel BUG at fs/ext4/inode.c:2982!

From: Dave Jones
Date: Fri Oct 17 2014 - 13:27:49 EST


On Fri, Oct 17, 2014 at 02:03:45AM +0400, Dmitry Monakhov wrote:
> Dave Jones <davej@xxxxxxxxxx> writes:
>
> > On Thu, Oct 16, 2014 at 10:33:46AM -0400, Dave Jones wrote:
> >
> > > > Try this patch http://www.spinics.net/lists/linux-ext4/msg45683.html
> > >
> > > I'll give it a try if I can get it reproducing easily, otherwise I cna't say
> > > either way whether the patch is doing any good.
> >
> > ok, I managed to reproduce it a few times, and then tried again with
> > your patch. I'm not sure if it's related, but I'm now seeing lockups
> > in ext4. The process that gets stuck looks like this..
>
> 99.99% this one is not related. This is just one more uncovered one
> by trinity magics. Looks like I've got what is wrong
> lseek SEEK_HOLE/SEEK_DATA try to find block allocated one by one
> instead of using ext4_ext_next_allocated_block() COMMIT c8c0df24
> Plese look an my test below. I'm too tired for today (especially
> after Gone girl the movie). I'll send patch tomorrow.

So the good news is that I'm only seeing this 2nd bug now, so it appears
your patch referenced above does fix it, so it is a good band-aid until
a more generic solution is found.

thanks,

Dave

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/