]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
luminous: osd: Modify lazy omap stats to only show one copy
authorBrad Hubbard <bhubbard@redhat.com>
Tue, 9 Jul 2019 05:03:24 +0000 (15:03 +1000)
committerBrad Hubbard <bhubbard@redhat.com>
Wed, 7 Aug 2019 05:42:08 +0000 (15:42 +1000)
commitbe2db0f39a5dc54981afe1ced4cfb8d4d1908d03
tree6e745ca6df02b3c29f4944267377e202f3080573
parentad6b3234173432ab2c5378e71eae3adc5a3bfedd
luminous: osd: Modify lazy omap stats to only show one copy

Only show stats from the primary to get more in line with other pg stats
representations.

Signed-off-by: Brad Hubbard <bhubbard@redhat.com>
(cherry picked from commit 490829c8eaf14f41de978ac0f93ecda3df8bcdef)
src/osd/PGBackend.cc
src/test/lazy-omap-stats/CMakeLists.txt
src/test/lazy-omap-stats/lazy-omap-stats-test.cc [deleted file]
src/test/lazy-omap-stats/lazy-omap-stats-test.h [deleted file]
src/test/lazy-omap-stats/lazy_omap_stats_test.cc [new file with mode: 0644]
src/test/lazy-omap-stats/lazy_omap_stats_test.h [new file with mode: 0644]
src/test/lazy-omap-stats/main.cc