]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
osd: use fmt/ranges.h for printing ranges
authorKefu Chai <tchaikov@gmail.com>
Tue, 26 Jul 2022 16:38:31 +0000 (00:38 +0800)
committerKefu Chai <tchaikov@gmail.com>
Tue, 26 Jul 2022 23:16:11 +0000 (07:16 +0800)
commit31aa539f26697c75452114fc79e0a9c75cb0ccaa
tree6d15297bd19b42804f352f0c5e2a83435db3099d
parenteb6b3ba259fd574cd15ff935200040c5b737ca31
osd: use fmt/ranges.h for printing ranges

now that fmt/ranges.h provides a generic mechinary for printing
ranges. let's just use it.

the output format is changed a little bit when it comes to
set and map, but as long as it makes sense, and we don't use
a tool to parse the logging messages for extracting information
from the messages printed by fmt::format(), we should be safe.

Signed-off-by: Kefu Chai <tchaikov@gmail.com>
src/common/hobject_fmt.h
src/include/types_fmt.h [deleted file]
src/msg/msg_fmt.h
src/osd/osd_types_fmt.h
src/osd/scrubber/pg_scrubber.cc
src/osd/scrubber/scrub_backend.cc
src/test/osd/scrubber_generators.cc
src/test/osd/test_scrubber_be.cc