zswap icon indicating copy to clipboard operation
zswap copied to clipboard

[Request] Priority support.

Open elpato77 opened this issue 9 years ago • 1 comments

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!

elpato77 avatar Jun 02 '15 17:06 elpato77

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.

bluerider avatar Jun 02 '15 19:06 bluerider