Re: [PATCH] ext3 jbd needs to wait for locked buffers

From: Andrew Morton
Date: Thu Jun 17 2004 - 20:55:26 EST


Chris Mason <mason@xxxxxxxx> wrote:
>
> jbd needs to wait for any io to complete on the buffer before
> changing the end_io function.

Thanks, I bet that was fun to hunt down.

Same problem in 2.4, although there it looks like it'll just cause a memory
leak. I guess if an app is mmapping a blockdev we could end up with a
permanently locked page though.

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