Re: [VM PATCH] rotate_reclaimable_page fails frequently

From: Shantanu Goel
Date: Mon Feb 06 2006 - 00:24:41 EST


--- Andrew Morton <akpm@xxxxxxxx> wrote:

> Rik van Riel <riel@xxxxxxxxxxx> wrote:
> > The question is, why is the page not yet back on
> the
> > LRU by the time the data write completes ?
>
> Could be they're ext3 pages which were written out
> by kjournald. Such
> pages are marked dirty but have clean buffers.
> ext3_writepage() will
> discover that the page is actually clean and will
> mark it thus without
> performing any I/O.
>

I had conjectured that something like this might be
happening without knowing the details of how ext3
implements writepage. The filesystem tested on here
is ext3.

> Shantanu, I suggest you add some instrumentation
> there too, see if it's
> working. (That'll be non-trivial. Just because we
> hit PAGE_CLEAN: here
> doesn't necessarily mean that the page will be
> reclaimed).

I'll do so and report back the results.

Shantanu


__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
-
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/