Re: ext4fs error "ext4_mb_generate_buddy:741:group 16, 8160 clustersin bitmap, 4064 in gd" (with repro)

From: Theodore Ts'o
Date: Thu Aug 16 2012 - 16:00:31 EST


On Thu, Aug 16, 2012 at 04:28:07PM +0200, LukÃÅ Czerner wrote:
>
> After a little bit of tracing with the systemtap and blktrace ext4
> does not seem to be doing anything wrong and yet we get part of the
> block bitmap trimmed. This lead me to the scsi_debug driver itself
> and indeed it seems that we have off-by-one bug there in the
> unamp_region() which is causing the problem.

Thanks for finding this --- I was getting scared that ext4 users were
losing data in production. It's good to know it was just a bug in the
scsi_debug driver.

- Ted
--
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/