From 8edf8c271123d295e8c1fa27949663499105a7d6 Mon Sep 17 00:00:00 2001 From: Haomai Wang Date: Sun, 22 Jan 2017 13:07:54 +0800 Subject: [PATCH] test/perf_local: fix EventCenter::init argument change Signed-off-by: Haomai Wang --- src/test/perf_local.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/test/perf_local.cc b/src/test/perf_local.cc index 2fec73e0014c8..5fba4b443d12a 100644 --- a/src/test/perf_local.cc +++ b/src/test/perf_local.cc @@ -450,7 +450,7 @@ double eventcenter_poll() { int count = 1000000; EventCenter center(g_ceph_context); - center.init(1000, 0); + center.init(1000, 0, "posix"); center.set_owner(); uint64_t start = Cycles::rdtsc(); for (int i = 0; i < count; i++) { @@ -467,7 +467,7 @@ class CenterWorker : public Thread { public: EventCenter center; explicit CenterWorker(CephContext *c): cct(c), done(false), center(c) { - center.init(100, 0); + center.init(100, 0, "posix"); } void stop() { done = true;