File tree Expand file tree Collapse file tree 2 files changed +6
-3
lines changed
crimson/tools/store_bench Expand file tree Collapse file tree 2 files changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -121,7 +121,7 @@ class StoreBenchWorkload {
121121};
122122
123123
124- class PGLogWorkload : public StoreBenchWorkload {
124+ class PGLogWorkload final : public StoreBenchWorkload {
125125 unsigned num_logs = 4 ;
126126 unsigned log_size = 1024 ;
127127 unsigned log_length = 256 ;
@@ -146,7 +146,7 @@ class PGLogWorkload : public StoreBenchWorkload {
146146 ~PGLogWorkload () final {}
147147};
148148
149- class RGWIndexWorkload : public StoreBenchWorkload {
149+ class RGWIndexWorkload final : public StoreBenchWorkload {
150150 unsigned num_indices = 16 ;
151151 uint64_t key_size = 1024 ;
152152 uint64_t value_size = 1024 ;
@@ -581,7 +581,7 @@ seastar::future<results_t> RGWIndexWorkload::run(
581581 *
582582 * Performs a simple random write workload.
583583 */
584- class RandomWriteWorkload : public StoreBenchWorkload {
584+ class RandomWriteWorkload final : public StoreBenchWorkload {
585585 uint64_t prefill_size = 128 <<10 ;
586586 uint64_t io_size = 4 <<10 ;
587587 uint64_t size_per_shard = 64 <<20 ;
Original file line number Diff line number Diff line change 3636#pragma GCC diagnostic push
3737#pragma clang diagnostic push
3838#pragma GCC diagnostic ignored "-Wdeprecated"
39+ #if defined(__GNUC__) && !defined(__clang__)
40+ // Clang generates a warning due to this (-Wunknown-warning-option)
3941#pragma GCC diagnostic ignored "-Wstringop-truncation"
42+ #endif
4043#pragma clang diagnostic ignored "-Wdeprecated"
4144#include < s3select/include/s3select.h>
4245#pragma GCC diagnostic pop
You can’t perform that action at this time.
0 commit comments