Re: [PATCH v2] zram: introduce comp algorithm fallback functionality

From: Andrew Morton
Date: Tue Sep 15 2015 - 19:07:12 EST


On Thu, 10 Sep 2015 14:03:51 +0900 Minchan Kim <minchan@xxxxxxxxxx> wrote:

> On Tue, Sep 08, 2015 at 07:42:56PM +0100, Luis Henriques wrote:
> > When the user supplies an unsupported compression algorithm, keep the
> > previously selected one (knowingly supported) or the default one (if the
> > compression algorithm hasn't been changed yet).
> >
> > Note that previously this operation (i.e. setting an invalid algorithm)
> > would result in no algorithm being selected, which means that this
> > represents a small change in the default behaviour.
>
> It seems it is hard for Andrew to parse so I will add more.

Thanks ;)

What's missing here is an understandable-by-andrew *reason* for the
patch. What's wrong with the old behaviour and why is the new
behaviour better?


--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/