[linux-mm-cc] linux-2.6.36, builtin zram: sys/block/zram0/blocksize kaputt

clemens fischer ino-news at spotteswoode.dnsalias.org
Mon Nov 8 10:57:13 EST 2010


> 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


More information about the linux-mm-cc mailing list