Messages in this thread | | | Date | Thu, 3 Nov 2022 13:09:49 +0900 | From | Sergey Senozhatsky <> | Subject | Re: [PATCHv4 2/9] zram: Add recompression algorithm sysfs knob |
| |
On (22/11/03 12:05), Sergey Senozhatsky wrote: > What is the use case for removal of a secondary algorithm? > > > My point is that we don't need to implement it atm but makes the > > interface to open the possibility for future extension. > > > > What do you think? > > So, as far as I understand, we don't have reason to add remove_recomp_algo > right now. And existing recomp_algo does not enforce any particular format, > it can be extended. Right now we accept "$name" but can do something like > "$name:$priority".
Or with keywords:
name=STRING priority=INT
and the only legal priority for now is 1.
| |