Merge pull request #49427 from tchaikov/wip-crimson-fmt

crimson: fmtlib v9 related changes

Reviewed-by: Yingxin Cheng <yingxin.cheng@intel.com>
This commit is contained in:
Yingxin 2022-12-15 10:24:17 +08:00 committed by GitHub
commit d2f2c27acf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 4 additions and 1 deletions

View File

@ -956,6 +956,7 @@ using lextent_list_t = addr_extent_list_base_t<
}
#if FMT_VERSION >= 90000
template <> struct fmt::formatter<crimson::os::seastore::lba_pin_list_t> : fmt::ostream_formatter {};
template <> struct fmt::formatter<crimson::os::seastore::CachedExtent> : fmt::ostream_formatter {};
template <> struct fmt::formatter<crimson::os::seastore::LogicalCachedExtent> : fmt::ostream_formatter {};
template <> struct fmt::formatter<crimson::os::seastore::LBAPin> : fmt::ostream_formatter {};

View File

@ -3,6 +3,8 @@
#include "crimson/osd/object_context.h"
#include <fmt/ranges.h>
#include "common/Formatter.h"
#include "crimson/common/config_proxy.h"

View File

@ -63,7 +63,7 @@ using crimson::common::local_conf;
auto coid = resolve_oid(head->get_ro_ss(), oid);
if (!coid) {
logger().error("with_clone_obc_only: {} clone not found",
coid);
oid);
return load_obc_iertr::future<>{
crimson::ct_error::enoent::make()
};