Currently, the init script /etc/init.d/zram-init lacks control for block size (pass value to a yet-to-be-created option (see bug:610366) to /usr/sbin/zram-init) inode/bytes ratio (pass value to -i option to /usr/sbin/zram-init) number of inodes (pass value for -N option to /usr/sbin/zram-init) Please add them. Background ========== inodes get filled-up pretty fast when I store the browser cache on a zram device. That's 82,000 cache files for 1.2GB space in one day! Whatever the reason, even if it's a bug/malfunction of the browser cache, it should be possible to tune inode size in zram through the scripts in zram-init and alleviate the situation...
Adding mvaeth to CC for upstream verification, and potential resolutions. Tia Martin! :)
I can confirm that this is missing, but do not know when I will find time to add it.
I could not sleep this morning, so I released a new version with the small changes.
This bug is probably outdated as `=sys-block/zram-init-3.8` was dropped a long time ago and, therefore, should be marked as resolved ?
See comment#3, the release is 10.4. I do not have permissions to change the status.
*** Bug 610366 has been marked as a duplicate of this bug. ***