FS#27392 - [linux] cannot enable zcache/cleancache

Attached to Project: Arch Linux
Opened by Rulatir (Rulatir) - Friday, 02 December 2011, 03:24 GMT
Last edited by Eric Belanger (Snowman) - Friday, 02 December 2011, 17:35 GMT
Task Type Bug Report
Category Kernel
Status Closed
Assigned To No-one
Architecture x86_64
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 1
Private No

Details

Description:

I cannot enable zcache/cleancache.

I have added the zcache parameter to kernel command line and also added zcache to initramfs. Dmesg indicates that zcache loads:

[code]
$ dmesg | grep zcache
[ 0.000000] Command line: root=/dev/sda5 rootfstype=ext4 rootflags=data=writeback ro zcache vga=775
[ 0.000000] Kernel command line: root=/dev/sda5 rootfstype=ext4 rootflags=data=writeback ro zcache vga=775
[ 0.501135] zcache: module is from the staging directory, the quality is unknown, you have been warned.
[/code]

However, a working cleancache/zcache would also log lines like these (found in multiple places on the web):

[code]
zcache: cleancache enabled using kernel transcendent memory and compression buddies
zcache: created ephemeral tmem pool, id=0
zcache: created ephemeral tmem pool, id=1
[/code]

There is nothing else in the logs, and of course cleancache is not working.


Additional info:
* package version(s)

linux-3.1.4-1

* config and/or log files etc.


This task depends upon

Closed by  Eric Belanger (Snowman)
Friday, 02 December 2011, 17:35 GMT
Reason for closing:  Duplicate
Additional comments about closing:   FS#27267 
Comment by Kevin (anonymous_user) - Friday, 02 December 2011, 04:23 GMT Comment by Rulatir (Rulatir) - Friday, 02 December 2011, 06:29 GMT
OK, I will now test with CONFIG_ZCACHE=y and report here. If it works, we can close this one as dup of 27267.

Loading...