zswap
zswap copied to clipboard
[Request] Priority support.
Hi. Would it be possible to add a priority parameter to the script, with a sane value? I have another swap partition, and would like the zswap to have higher priority.
It's simply a matter of passing it an argument, like swapon -p 100 ...
Thanks!
This is very feasible via some simple additions (like a priority array). However, priority doesn't return with
zswap restart
It seems to be due to
swapon -f
not restoring priority.