Comment 4 for bug 1270913

Revision history for this message
stuart naylor (stuartiannaylor68) wrote :

zram_config because it makes absolutely no check and overwrites any previous zram devices due to hard coding.

I have been trying to do something simple as use log2ram with a compressed zram drive.
Came to the conclusion that because of zero checks via zram_config its impossible to have both in operation unless provide zram control in log2ram.

After doing that and some reading of https://www.kernel.org/doc/Documentation/blockdev/zram.txt I am completely bemused to what, why and how zram_config operates and prob someone needs to ask https://www.linkedin.com/in/nitingupta910 the kernel author of zram some advise.

You can have a look at what I have done in https://github.com/StuartIanNaylor/log2ram/blob/master/log2ram but wouldn't touch zram_config with a bargepole.
Also asked these questions in https://answers.launchpad.net/ubuntu/+source/zram-config/+question/678905

As there seems to be little correlation with zram_config & https://www.kernel.org/doc/Documentation/blockdev/zram.txt !!?