Messages in this thread | | | Date | Fri, 2 Nov 2001 10:24:21 +0100 | From | Robert Varga <> | Subject | Re: writing a plugin for reiserfs compression |
| |
On Thu, Nov 01, 2001 at 10:43:37PM +0100, Roy Sigurd Karlsbakk wrote: > > Note this transparent ext2 compression patch is only available for 2.2 > > Would it be hard to port to 2.4?
AFAIK kinda yes. It relies on IO going through block buffer cache: Buffer cache contains the compressed data, while the page cache has it all decompressed. This avoids excessive (de)compression (you need to compress data only when commiting page to disk).
With 2.4 Ext2 moved (almost?) entirely out of buffer cache, you'll need to create your own IO buffers. This is the only solution I came up with. Is there some other approach how to cope with this problem ?
-- Kind regards, Robert Varga ------------------------------------------------------------------------------ n@hq.sk http://hq.sk/~nite/gpgkey.txt [unhandled content-type:application/pgp-signature] | |