Re: [PATCH v5 2/5] Revert "frontswap: simplify frontswap_register_ops"

From: Christoph Hellwig
Date: Tue Sep 27 2022 - 03:28:05 EST


On Wed, Sep 21, 2022 at 09:42:41AM +0800, Liu Shixin wrote:
> This revert makes code complicated, but I think it's necessary. When
> enable zswap, I expect it to work for all swap devices as much as
> possible.

But why would expect something to work on a device that has been
swapped on before? That's not usually how things work.