Re: [BLOCK] bh: Ensure bh fits within a page

From: Andrew Morton
Date: Tue Aug 01 2006 - 19:43:12 EST


On Wed, 02 Aug 2006 09:30:51 +1000
Herbert Xu <herbert@xxxxxxxxxxxxxxxxxxx> wrote:

> Jens Axboe <axboe@xxxxxxx> wrote:
> >
> > That looks really dangerous, I'd prefer that to be a BUG_ON() as well to
> > prevent nastiness further down.
>
> OK, I used a WARN_ON mainly because ext3 has been doing this for years
> without killing anyone until now :)

I can't apply either of these patches, because we _know_ it'll trigger.

Once the JBD fix is in hand, we can go with a WARN_ON_ONCE and if that is
all clear, then we can make it a BUG_ON().

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