diff options
author | Nhat Pham <[email protected]> | 2023-10-24 16:45:09 -0700 |
---|---|---|
committer | Andrew Morton <[email protected]> | 2023-11-01 12:38:35 -0700 |
commit | cb61dad80fdc6a8f01b101e823a9335cd6d61071 (patch) | |
tree | 0621306f5236feb67597fc660d1a9c1bd62192d9 /tools/perf/scripts/python/stackcollapse.py | |
parent | 9fb2047d23d5087e124e7bc7a0abdc3f0d7f5d7e (diff) |
zswap: export compression failure stats
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.
Link: https://lkml.kernel.org/r/[email protected]
Signed-off-by: Nhat Pham <[email protected]>
Reviewed-by: Sergey Senozhatsky <[email protected]>
Cc: Dan Streetman <[email protected]>
Cc: Domenico Cerasuolo <[email protected]>
Cc: Johannes Weiner <[email protected]>
Cc: Michal Hocko <[email protected]>
Cc: Muchun Song <[email protected]>
Cc: Roman Gushchin <[email protected]>
Cc: Seth Jennings <[email protected]>
Cc: Shakeel Butt <[email protected]>
Cc: Vitaly Wool <[email protected]>
Cc: Yosry Ahmed <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions