[lc-devel] Compressed Swap on 2.6
Status: Beta
Brought to you by:
nitin_sf
From: Anderson B. <bri...@gm...> - 2006-05-23 21:19:10
|
Hi all, I'm trying to implement compressed swap on 2.6 kernel. I already read the Nitin Gupta's wiki page about the implementation of Compressed Cache on 2.6.x kernel. Well, what I'm trying to do is quite simpler. I just wanna to use a compressed swap area (not swap cache, just the swap area). I'm using the LZO algo to compress the pages but I'm having problems to record a compressed page in the swap device (swap area). How can I use the bio structure to include a compressed page? The bio structure already uses PAGE_SIZE as size, can I pass to bio the comp_size instead of PAGE_SIZE? Best Regards, Anderson Briglia |