]> 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)
committerDouglas Fuller <dfuller@redhat.com>
Wed, 18 Jul 2018 13:56:01 +0000 (09:56 -0400)
commit4c108a50e5f74a56965d49687a8c817f4a5ce42b
tree2a1a5cce70d8c1bc85bb31ea46bb59df0db48099
parent67c8b6e0d0175d2c9dd17d489a623f6c451ef090
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>
src/mon/OSDMonitor.cc