Re: [Ext2-devel] Re: [RFC] ext3/jbd race: releasing in-usejournal_heads

From: Andrew Morton
Date: Tue Mar 08 2005 - 02:19:08 EST


Suparna Bhattacharya <suparna@xxxxxxxxxx> wrote:
>
>
> yup, looks like the same issue we hit in wait_on_page_writeback_range
> during AIO work - probably want to break out of the outer loop as well
> when this happens.

The `next = page_index' before breaking will do that for us.

>
> How hard would it be to add an end_index parameter to the radix tree
> lookup, since we seem to be hitting this in multiple places ?

Really easy if you do it ;)

Let's wait for this particular peiece of code to settle down, do a cleanup
sometime?

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