Linux-kernel mailing list archive 2000-23,: Re: journaling & VM (was: Re: reiserfs being part of the kernel: it'snot just the code)

# Re: journaling & VM (was: Re: reiserfs being part of the kernel: it'snot just the code)

Stephen C. Tweedie (sct@redhat.com)
Wed, 7 Jun 2000 14:47:43 +0100

- Messages sorted by: [ date ][ thread ][ subject ][ author ]
- Next message: Byron Stanoszek: "Loopback caching bug in 2.2.14-15"
- Previous message: Stephen C. Tweedie: "Re: journaling & VM (was: Re: reiserfs being part of the kernel: it'snot just the code)"

Hi,

On Wed, Jun 07, 2000 at 06:40:24AM -0700, Chris Mason wrote:
>
> Right now, almost of the pinned pages will be buffer cache pages, and only
> metadata is logged. But, sometimes a data block must be flushed before
> transaction commit, and those pages are pinned, but can be written at any
> time. I'm not sure I fully understand the issues with doing all the
> balancing through the page cache...

In 2.4, it's not a problem in principle to keep the buffer cache pages
on the page cache LRUs, even if they are not on the page cache hash
lists.

> Allocate on flush will be different, and the address_space->pressure()
> method makes even more sense there. Those pages will be on the LRU lists,
> and you want the pressure function to be called on each page.

Absolutely.

Cheers,
Stephen

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

- Next message: Byron Stanoszek: "Loopback caching bug in 2.2.14-15"
- Previous message: Stephen C. Tweedie: "Re: journaling & VM (was: Re: reiserfs being part of the kernel: it'snot just the code)"