From: lixiaoy1 Date: Tue, 11 Aug 2020 16:26:01 +0000 (-0400) Subject: rbd/rwl: fix the construction of ContextWQ X-Git-Tag: v16.1.0~1432^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=refs%2Fpull%2F36561%2Fhead;p=ceph.git rbd/rwl: fix the construction of ContextWQ Fix the build issue caused by the commit c11594a which changed the constructor of ContextWQ. Signed-off-by: Li, Xiaoyan --- diff --git a/src/librbd/cache/ReplicatedWriteLog.cc b/src/librbd/cache/ReplicatedWriteLog.cc index d5763a75e66f..000e27e516b0 100644 --- a/src/librbd/cache/ReplicatedWriteLog.cc +++ b/src/librbd/cache/ReplicatedWriteLog.cc @@ -61,7 +61,9 @@ ReplicatedWriteLog::ReplicatedWriteLog(I &image_ctx, librbd::cache::rwl::Imag 4, ""), m_work_queue("librbd::cache::ReplicatedWriteLog::work_queue", - image_ctx.config.template get_val("rbd_op_thread_timeout"), + ceph::make_timespan( + image_ctx.config.template get_val( + "rbd_op_thread_timeout")), &m_thread_pool) { CephContext *cct = m_image_ctx.cct;