Skip to content

Commit

Permalink
Merge pull request #10052: jewel: Timeout sending mirroring notificat…
Browse files Browse the repository at this point in the history
…ion shouldn't result in failure

Reviewed-by: Loic Dachary <ldachary@redhat.com>
  • Loading branch information
Loic Dachary committed Jul 1, 2016
2 parents 270c08e + b1d9698 commit 8bde0ee
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/librbd/internal.cc
Expand Up @@ -248,7 +248,6 @@ int mirror_image_enable(CephContext *cct, librados::IoCtx &io_ctx,
if (r < 0) {
lderr(cct) << "failed to send update notification: " << cpp_strerror(r)
<< dendl;
return r;
}

ldout(cct, 20) << "image mirroring is enabled: global_id=" <<
Expand Down Expand Up @@ -341,7 +340,6 @@ int mirror_image_disable_internal(ImageCtx *ictx, bool force,
if (r < 0) {
lderr(cct) << "failed to send update notification: " << cpp_strerror(r)
<< dendl;
return r;
}

header_oid = ::journal::Journaler::header_oid(ictx->id);
Expand Down Expand Up @@ -3199,7 +3197,6 @@ int mirror_image_disable_internal(ImageCtx *ictx, bool force,
if (r < 0) {
lderr(cct) << "failed to send update notification: " << cpp_strerror(r)
<< dendl;
return r;
}
}

Expand Down Expand Up @@ -3355,7 +3352,6 @@ int mirror_image_disable_internal(ImageCtx *ictx, bool force,
if (r < 0) {
lderr(cct) << "failed to send update notification: " << cpp_strerror(r)
<< dendl;
return r;
}
return 0;
}
Expand Down

0 comments on commit 8bde0ee

Please sign in to comment.