]> git.apps.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>
Wed, 3 Oct 2018 12:17:31 +0000 (14:17 +0200)
commitece73c7b537c4645ad69e07b3fb5af853d2afe63
treee41e0ccda1eb16fc850672d781c0f06d1d1fa725
parentf394dfbf4d6e2bb306ee24d8929510e721ea9825
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