Skip to content

Commit c3c9e5e

Browse files
committed
qa/rados: Fix problem with recompression failing osd bench tesing
The change refactors structure of objectstore_debug/bluestore. 1) compr$ dir is not longer independant dimension. 2) compr$ dir is multiplied into write$/(v1+v2+random) 3) write$/v1 gets original compr settings 4) write$/(v2+random) get modified compr with osd_mclock_skip_benchmark=true The rationale is to disable bench when both v2 and compression are enabled. Fixes: https://tracker.ceph.com/issues/71168 Note: Not really fixes, it just disables detecting symptoms. Real solution needs more sophisticated approach. Signed-off-by: Adam Kupczyk <[email protected]>
1 parent 3a75e1a commit c3c9e5e

File tree

21 files changed

+64
-0
lines changed

21 files changed

+64
-0
lines changed

qa/objectstore_debug/bluestore/write$/random/+

Whitespace-only changes.

qa/objectstore_debug/bluestore/compr$/no$/no.yaml renamed to qa/objectstore_debug/bluestore/write$/random/compr$/no$/no.yaml

File renamed without changes.
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
overrides:
2+
ceph:
3+
conf:
4+
osd:
5+
bluestore compression mode: aggressive
6+
bluestore compression algorithm: lz4
7+
osd_mclock_skip_benchmark: true #new recompression makes us fail the test
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
overrides:
2+
ceph:
3+
conf:
4+
osd:
5+
bluestore compression mode: aggressive
6+
bluestore compression algorithm: snappy
7+
osd_mclock_skip_benchmark: true #new recompression makes us fail the test
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
overrides:
2+
ceph:
3+
conf:
4+
osd:
5+
bluestore compression mode: aggressive
6+
bluestore compression algorithm: zlib
7+
osd_mclock_skip_benchmark: true #new recompression makes us fail the test
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
overrides:
2+
ceph:
3+
conf:
4+
osd:
5+
bluestore compression mode: aggressive
6+
bluestore compression algorithm: zstd
7+
osd_mclock_skip_benchmark: true #new recompression makes us fail the test

qa/objectstore_debug/bluestore/write$/write_random.yaml renamed to qa/objectstore_debug/bluestore/write$/random/random.yaml

File renamed without changes.

qa/objectstore_debug/bluestore/write$/v1/+

Whitespace-only changes.
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
overrides:
2+
ceph:
3+
conf:
4+
osd:

qa/objectstore_debug/bluestore/compr$/yes$/lz4.yaml renamed to qa/objectstore_debug/bluestore/write$/v1/compr$/yes$/lz4.yaml

File renamed without changes.

0 commit comments

Comments
 (0)