Project

General

Profile

Actions

Bug #42345

closed

OSD: When object compression ratio is high(but less than “bluestore_compression_required_ratio”), compression did not work

Added by Fengzhe Han over 4 years ago. Updated over 4 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Target version:
-
% Done:

0%

Source:
Community (user)
Tags:
Backport:
Regression:
No
Severity:
2 - major
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):

Description

Version: nautilus

I set value “.98” to “bluestore_compression_required_ratio”. Then put some objects into the cluster by rbd. The compress-type is zlib, and the object’s compression-rate is 93% more or less.But compression did not work.

I observed “ceph daemon osd.0 perf dump | grep bluestore”, and the relevant value didn’t change. Then I wrote some log to the source code and rebuild the Ceph projects.The log-print showed that the soft flow didn’t enter compression-path.

Actions

Also available in: Atom PDF