lkml.org 
[lkml]   [2001]   [Nov]   [2]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: 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]
\
 
 \ /
  Last update: 2005-03-22 13:12    [W:0.630 / U:0.708 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site