Re: 2.6.5-rc1-mm2 and direct_read_under and wb

From: Andrew Morton
Date: Mon Mar 22 2004 - 18:12:50 EST


Daniel McNeil <daniel@xxxxxxxx> wrote:
>
> I was thinking about this also, since this is included in the patch.
> As long as the page stays dirty in radix tree so the sync writer
> can find it, then the sync writer can wait on the locked buffers.
>
> I am giving it a try and will let you know.

Please do.

Redirtyng the pages in this manner does mean that background_writeout()
could get stuck in a loop trying to write the same batch of pages over and
over again, until the I/O completes.

I'll take another look at marking the pages which back the ll_rw_blk
buffers as being under writeback.

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