mirror of
https://github.com/ceph/ceph
synced 2025-01-03 01:22:53 +00:00
Merge pull request #40807 from tchaikov/wip-common-include
common/Formatter: include used header Reviewed-by: Radoslaw Zarzynski <rzarzyns@redhat.com> Reviewed-by: Josh Durgin <jdurgin@redhat.com> Reviewed-by: Neha Ojha <nojha@redhat.com>
This commit is contained in:
commit
ba68020cea
@ -19,6 +19,7 @@
|
||||
#include "include/buffer.h"
|
||||
|
||||
#include <fmt/format.h>
|
||||
#include <algorithm>
|
||||
#include <set>
|
||||
#include <limits>
|
||||
|
||||
|
@ -39,6 +39,7 @@
|
||||
#include <boost/intrusive/set.hpp>
|
||||
#include <boost/optional.hpp>
|
||||
|
||||
#include "include/compat.h"
|
||||
#include "include/intarith.h"
|
||||
#include "include/int_types.h"
|
||||
#include "include/scope_guard.h"
|
||||
|
@ -3698,7 +3698,7 @@ void Monitor::handle_command(MonOpRequestRef op)
|
||||
rs = ss2.str();
|
||||
r = 0;
|
||||
} else if (prefix == "osd last-stat-seq") {
|
||||
int64_t osd;
|
||||
int64_t osd = 0;
|
||||
cmd_getval(cmdmap, "id", osd);
|
||||
uint64_t seq = mgrstatmon()->get_last_osd_stat_seq(osd);
|
||||
if (f) {
|
||||
|
@ -1631,12 +1631,12 @@ public:
|
||||
}
|
||||
|
||||
int64_t get_dedup_tier() const {
|
||||
int64_t tier_id;
|
||||
int64_t tier_id = 0;
|
||||
opts.get(pool_opts_t::DEDUP_TIER, &tier_id);
|
||||
return tier_id;
|
||||
}
|
||||
int64_t get_dedup_cdc_chunk_size() const {
|
||||
int64_t chunk_size;
|
||||
int64_t chunk_size = 0;
|
||||
opts.get(pool_opts_t::DEDUP_CDC_CHUNK_SIZE, &chunk_size);
|
||||
return chunk_size;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user