Re: [Patch 1/2] 2.4.20-pre4/ext3: Handle dirty buffers encountered unexpectedly.

Stephen C. Tweedie (sct@redhat.com)
Fri, 23 Aug 2002 11:10:58 +0100


Hi,

On Fri, Aug 23, 2002 at 10:59:33AM +0100, Christoph Hellwig wrote:

> Btw, is the following patch still aimed for inclusion?

> --- linux/fs/buffer.c.~1~ Fri Apr 12 17:59:09 2002
> +++ linux/fs/buffer.c Sat Apr 13 21:09:36 2002
> /* Stage 3: start the IO */
> - for (i = 0; i < nr; i++)
> - submit_bh(READ, arr[i]);
> -
> + for (i = 0; i < nr; i++) {
> + struct buffer_head * bh = arr[i];
> + if (buffer_uptodate(bh))
> + end_buffer_io_async(bh, 1);
> + else
> + submit_bh(READ, bh);
> + }
> +

Yes, it's in my next batch.

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