]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
librbd: do not delay propagation of demote events
authorJason Dillaman <dillaman@redhat.com>
Thu, 4 May 2017 23:47:01 +0000 (19:47 -0400)
committerJason Dillaman <dillaman@redhat.com>
Thu, 4 May 2017 23:47:01 +0000 (19:47 -0400)
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
src/librbd/journal/DemoteRequest.cc

index c41961d73baba95e0b594d3dfad471e681a9ee5a..0fd3e335c442bc7fc8603b72f0f1955f0fb3a0aa 100644 (file)
@@ -131,7 +131,7 @@ void DemoteRequest<I>::append_event() {
   CephContext *cct = m_image_ctx.cct;
   ldout(cct, 20) << dendl;
 
-  EventEntry event_entry{DemoteEvent{}, ceph_clock_now()};
+  EventEntry event_entry{DemoteEvent{}, {}};
   bufferlist event_entry_bl;
   ::encode(event_entry, event_entry_bl);