]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mon: pool creation helper for size
authorLoic Dachary <loic@dachary.org>
Sun, 2 Feb 2014 08:51:50 +0000 (09:51 +0100)
committerLoic Dachary <loic@dachary.org>
Tue, 4 Feb 2014 07:06:26 +0000 (08:06 +0100)
commit6caac92c7e561c1d40e78fa1d248b4c4afd60d87
tree16f42563d3469297fc9a1abf5e10c2d839be4af6
parent9d766cabdca0ba347b5d7b649124e365d6fa2948
mon: pool creation helper for size

The size of the replicated pools are by default set to
osd_pool_default_size but it may vary depending on the pool type. Create
a helper to compute the pool size.

http://tracker.ceph.com/issues/7277 refs #7277

Reviewed-By: Christophe Courtaut <christophe.courtaut@gmail.com>
Signed-off-by: Loic Dachary <loic@dachary.org>
src/mon/OSDMonitor.cc
src/mon/OSDMonitor.h