]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mon/OSDMonitor: Warn when expected_num_objects will have no effect
authorDouglas Fuller <dfuller@redhat.com>
Thu, 28 Jun 2018 15:21:38 +0000 (11:21 -0400)
committerNathan Cutler <ncutler@suse.com>
Sun, 2 Sep 2018 11:53:33 +0000 (13:53 +0200)
commit9d773d69ec2aeaf47c8b2a5b1030ce953ccbceaf
treeed979c1ee4a20e4e3ee6d7ffeccd392a9fda2efa
parent42cfc1b5895a6eee8b7519d555b828ccf60ec2c0
mon/OSDMonitor: Warn when expected_num_objects will have no effect

The expected_num_objects argument to ceph osd pool create is
only effective on filestore pools when merging is disabled
(filestore_merge_threshold < 0). Warn and disallow pool creation
in this situation.

Signed-off-by: Douglas Fuller <dfuller@redhat.com>
(cherry picked from commit 4c108a50e5f74a56965d49687a8c817f4a5ce42b)
src/mon/OSDMonitor.cc