]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
TaskFinisher: cancel all tasks wait until finisher done 9682/head
authorHaomai Wang <haomai@xsky.com>
Tue, 14 Jun 2016 03:03:19 +0000 (11:03 +0800)
committerHaomai Wang <haomai@xsky.com>
Wed, 15 Jun 2016 14:24:37 +0000 (22:24 +0800)
commit40c5679ef038375e2bde982f401d78c1f3e05c6c
treeee21c64d035db0d18162af18aa9147f0870e6b22
parente7aff3da8ba5203442478f7a42fb2bc515cb4498
TaskFinisher: cancel all tasks wait until finisher done

Otherwise, caller may think pending task won't be executed but actually
finisher may execute callback which may cause refer to freed object.

Signed-off-by: Haomai Wang <haomai@xsky.com>
src/librbd/ImageWatcher.cc
src/librbd/TaskFinisher.h