Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
os/bluestore: change algorithm of compression header from string to int
The literal description of compression algorithm can vary from various compression types and thus increases the complexity of en/decoding, which as a result can cause chaos. Also it can be more efficient by translating it into a fixed-length type. Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
- Loading branch information
1 parent
fa8107a
commit 24a15cb
Showing
3 changed files
with
32 additions
and
6 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
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