]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
Merge pull request #12102 from yangdongsheng/async_remove
authorJason Dillaman <dillaman@redhat.com>
Fri, 24 Feb 2017 13:50:41 +0000 (08:50 -0500)
committerGitHub <noreply@github.com>
Fri, 24 Feb 2017 13:50:41 +0000 (08:50 -0500)
librbd: asynchronous image removal state machine

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
1  2 
src/cls/rbd/cls_rbd_client.cc
src/cls/rbd/cls_rbd_client.h
src/librbd/operation/DisableFeaturesRequest.h

Simple merge
Simple merge
index 7674dfc45ff8877b4a441843b74a89b519aae92f,436e30a13404c92eae20571163f8642ccbbc8a13..623eb1f87dca6614eff6222ab73ad68ea5aa924e
@@@ -26,15 -26,15 +26,15 @@@ public
    }
  
    DisableFeaturesRequest(ImageCtxT &image_ctx, Context *on_finish,
-                          uint64_t journal_op_tid, uint64_t features);
+                          uint64_t journal_op_tid, uint64_t features, bool force);
  
  protected:
 -  virtual void send_op();
 -  virtual bool should_complete(int r);
 -  virtual bool can_affect_io() const override {
 +  void send_op() override;
 +  bool should_complete(int r) override;
 +  bool can_affect_io() const override {
      return true;
    }
 -  virtual journal::Event create_event(uint64_t op_tid) const {
 +  journal::Event create_event(uint64_t op_tid) const override {
      return journal::UpdateFeaturesEvent(op_tid, m_features, false);
    }