FS#27267 - [linux] Alter CONFIG_ZCACHE to 'y' for optional zcache support

Attached to Project: Arch Linux
Opened by Jesse Crews (jcrews) - Saturday, 26 November 2011, 19:17 GMT
Last edited by Tobias Powalowski (tpowa) - Tuesday, 29 November 2011, 07:34 GMT
Task Type Bug Report
Category Packages: Core
Status Closed
Assigned To Tobias Powalowski (tpowa)
Thomas Bächler (brain0)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 1
Private No

Details

Description:
zcache will only operate if it is built into the kernel and the 'zcache' argument is given to Linux at boot. As an external module, it does nothing useful, even when loaded early. Building Linux with 'CONFIG_ZCACHE=y' will allow users that wish to enable zcache to do so, without affecting those that do not.

Additional info:
* package version(s)
3.1.2-1

/sys/kernel/mm/zcache entries are populated by the loadable module, but filesystems never attach to cleancache. This is evidenced by the constant zero counters in cleancache (puts, failed_gets), and the lack of tmem pool allocations in dmesg.

* config and/or log files etc.
(default ARCH .config)

Steps to reproduce:
1. Create a cleancache enabled filesystem (e.g., ext4)
2. Add zcache to initramdisk.
3. Append zcache to the kernel's boot argument list.
(application/x-gzip)    config.gz (32.1 KiB)
This task depends upon

Closed by  Tobias Powalowski (tpowa)
Tuesday, 29 November 2011, 07:34 GMT
Reason for closing:  Won't implement
Comment by Tobias Powalowski (tpowa) - Tuesday, 29 November 2011, 07:34 GMT
Sorry it's a staging driver, i'll not add a staging module into the kernel.

Loading...