Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
os/bluestore: add compression required ratio to enable/disable compre…
…ssion Require the net gain of compression at least to be at a specified ratio, otherwise we don't compress. Ask for compressing at least 12.5% off, by default. This is for the sake of performance because if the compression turns out to be meaningless(saving little space), we can simply shut it down, as we know the compression/decompression can be rather CPU-consuming. Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
- Loading branch information
1 parent
85bb43e
commit 819e854
Showing
2 changed files
with
16 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters