From: Radoslaw Zarzynski Date: Mon, 16 Oct 2017 16:41:32 +0000 (+0200) Subject: test/fio: fix building of the fio_ceph_objectstore plugin. X-Git-Tag: v13.0.1~547^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=23f018c85953b3fc6c4cf55d5f8e24ffc2e97e15;p=ceph.git test/fio: fix building of the fio_ceph_objectstore plugin. Signed-off-by: Radoslaw Zarzynski --- diff --git a/src/test/fio/fio_ceph_objectstore.cc b/src/test/fio/fio_ceph_objectstore.cc index c8f116b2f20b..d61e865afe4b 100644 --- a/src/test/fio/fio_ceph_objectstore.cc +++ b/src/test/fio/fio_ceph_objectstore.cc @@ -207,7 +207,7 @@ Job::Job(Engine* engine, const thread_data* td) const uint64_t pool = Collection::MIN_POOL_ID + td->thread_number; // create a collection for each object, up to osd_pool_default_pg_num - uint32_t count = get_val("osd_pool_default_pg_num"); + uint64_t count = g_conf->get_val("osd_pool_default_pg_num"); if (count > td->o.nr_files) count = td->o.nr_files;