]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mon: disable gmt_hitset if not supported
authorKefu Chai <kchai@redhat.com>
Tue, 8 Sep 2015 08:52:32 +0000 (16:52 +0800)
committerKefu Chai <kchai@redhat.com>
Fri, 9 Oct 2015 10:20:32 +0000 (03:20 -0700)
commitb632254252f56d3b2c0c32803593ba765b45b222
treebc2dd1ad735fe8d5511756a48f882b75bfa6e27b
parent27fc9a3b2bd34bec8d5bb3954b873ce6344771f4
mon: disable gmt_hitset if not supported

the gmt_hitset is enabled by default in the ctor of pg_pool_t, this
is intentional. because we want to remove this setting and make
gmt_hitset=true as a default in future. but this forces us to
disable it explicitly when preparing a new pool if any OSD does
not support gmt hitset.

Fixes: #12968
Signed-off-by: Kefu Chai <kchai@redhat.com>
(cherry picked from commit e48cec3dc93b3988dcd8924933deb1b3a43e1d0f)

Conflicts:
src/mon/OSDMonitor.cc
remove unrelated hunk
src/mon/OSDMonitor.cc