On (23/10/24 16:45), Nhat Pham wrote: > > During a zswap store attempt, the compression algorithm could fail (for > e.g due to the page containing incompressible random data). This is not > tracked in any of existing zswap counters, making it hard to monitor for > and investigate. We have run into this problem several times in our > internal investigations on zswap store failures. > > This patch adds a dedicated debugfs counter for compression algorithm > failures. > > Signed-off-by: Nhat Pham <nphamcs@xxxxxxxxx> FWIW, Reviewed-by: Sergey Senozhatsky <senozhatsky@xxxxxxxxxxxx>