'uname -rms' -> Linux 2.6.36-spott i686
Hi,
I've been running compcache.googlecode.com/hg since 2.6.34.x. The
latest interface needed only
echo "$disksize" > /sys/block/zram0/disksize &&
mkswap -L zram0 /dev/zram0 && swapon -p 55 /dev/zram0
and I got compressed swap for what little my machine usually had to do
with swapping, keeping thos eblocks off the disk.
Now this interface seems gone from what I read in zram.txt, and the
older zramconfig was resurrected.
Is this going to be permanent or was an older compcache version merged?
If it is permanent, where do I get the userspace from, I mean, what hg
version do I need to check out for them? I noticed zramconfig somewhere
in the repo, but they must be in older revisions, because the current
code doesn't have it.
gruss, clemens fischer
regards, clemens fischer
Hi,On Sun, Oct 31, 2010 at 4:25 PM, clemens fischer <
wrote:
> 'uname -rms' -> Linux 2.6.36-spott i686
>
> I've been running compcache.googlecode.com/hg since 2.6.34.x. The
> latest interface needed only
>
> echo "$disksize" > /sys/block/zram0/disksize &&
> mkswap -L zram0 /dev/zram0 && swapon -p 55 /dev/zram0
>
> and I got compressed swap for what little my machine usually had to do
> with swapping, keeping thos eblocks off the disk.
>
> Now this interface seems gone from what I read in zram.txt, and the
> older zramconfig was resurrected.
>
> Is this going to be permanent or was an older compcache version merged?
> If it is permanent, where do I get the userspace from, I mean, what hg
> version do I need to check out for them? I noticed zramconfig somewhere
> in the repo, but they must be in older revisions, because the current
> code doesn't have it.
>I guess you are trying to use the mainline version of zram -- zramconfig is
now gone as we want to switch to /sys interface instead. Currently, mainline
version is in a bit inconsistent state and some important fixes have not yet
reached mainline due to time constraints. I hope to fix that in near future.
In the mean time, please use zram code from project hg repository.
Thanks,
Nitin
> Nitin Gupta:
> I guess you are trying to use the mainline version of zram -- zramconfig is
> now gone as we want to switch to /sys interface instead. Currently, mainline
> version is in a bit inconsistent state and some important fixes have not yet
> reached mainline due to time constraints. I hope to fix that in near future.
> In the mean time, please use zram code from project hg repository.I already tried that, but it doesn't build with 2.6.36:
/src/bulk/linux/filesystems/compcache/compcache-dev
0 4 # make
make -C "/lib/modules/2.6.36-spott/build" M=/src/bulk/linux/filesystems/compcache/compcache-dev modules
make[1]: Entering directory `/mnt/backup/no-backup/usr/src/linux-2.6.36.y.git'
CC [M] /src/bulk/linux/filesystems/compcache/compcache-dev/zram_drv.o
.../compcache-dev/zram_drv.c: In function zram_make_request:
.../compcache-dev/zram_drv.c:461:2: error: implicit declaration of function bio_rw_flagged
.../compcache-dev/zram_drv.c:461:6: error: BIO_RW_DISCARD undeclared (first use in this function)
regards, clemens