Re: 2.6.5-rc1-mm2 and direct_read_under and wb

From: Daniel McNeil
Date: Mon Mar 22 2004 - 19:52:01 EST


Andrew,

The test has been running over 5 hours now without seeing uninitialized
data. I'll let it run overnight, but it looks like the small
__block_write_full_page patch fixes the problem.

Daniel

On Mon, 2004-03-22 at 15:13, Andrew Morton wrote:
> 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/

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