diff options
author | Gao Xiang <[email protected]> | 2024-05-20 17:01:06 +0800 |
---|---|---|
committer | Gao Xiang <[email protected]> | 2024-05-21 03:07:39 +0800 |
commit | 80eb4f62056d6ae709bdd0636ab96ce660f494b2 (patch) | |
tree | ddb69c50fddeeae29ad275e3f0b08abc043daaa2 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 5587a8172eb6040e388c3fc9fa6553b99510da9e (diff) |
erofs: avoid allocating DEFLATE streams before mounting
Currently, each DEFLATE stream takes one 32 KiB permanent internal
window buffer even if there is no running instance which uses DEFLATE
algorithm.
It's unexpected and wasteful on embedded devices with limited resources
and servers with hundreds of CPU cores if DEFLATE is enabled but unused.
Fixes: ffa09b3bd024 ("erofs: DEFLATE compression support")
Cc: <[email protected]> # 6.6+
Reviewed-by: Sandeep Dhavale <[email protected]>
Signed-off-by: Gao Xiang <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions