Re: [PATCH] z3fold: add shrinker

Vitaly Wool
2016-10-11T21:51:49Z

On Tue, Oct 11, 2016 at 11:36 PM, Dave Chinner <david@fromorbit.com> wrote:
> On Tue, Oct 11, 2016 at 11:14:08PM +0200, Vitaly Wool wrote:
>> This patch implements shrinker for z3fold. This shrinker
>> implementation does not free up any pages directly but it allows
>> for a denser placement of compressed objects which results in
>> less actual pages consumed and higher compression ratio therefore.
>>
>> Signed-off-by: Vitaly Wool <vitalywool@gmail.com>
>
> This seems to implement the shrinker API we removed a ~3 years ago
> (commit a0b02131c5fc ("shrinker: Kill old ->shrink API.")). Forward
> porting and testing required, perhaps?

Bah, right. That's the wrong patch I submitted (for the 3.10-stable).

Thanks for pointing out, I'll come up with the right patch shortly.

~vitaly