]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
watch/notify: Clarify comment where notifies are completed 4698/head
authorDouglas Fuller <dfuller@redhat.com>
Fri, 15 May 2015 18:37:35 +0000 (11:37 -0700)
committerDouglas Fuller <dfuller@redhat.com>
Fri, 15 May 2015 18:37:35 +0000 (11:37 -0700)
Signed-off-by: Douglas Fuller <dfuller@redhat.com>
src/osdc/Objecter.cc

index 0edbbc6e5688efc8fbecb64a20d981709f42bd65..dcb360e052ba72aeebd2aa8c4aa60a379f0e2b35 100644 (file)
@@ -791,8 +791,8 @@ void Objecter::handle_watch_notify(MWatchNotify *m)
       }
     }
   } else if (!info->is_watch) {
-    // notify completion; we can do this inline since we know the only user
-    // (librados) is safe to call in fast-dispatch context
+    // we have CEPH_WATCH_EVENT_NOTIFY_COMPLETE; we can do this inline since
+    // we know the only user (librados) is safe to call in fast-dispatch context
     assert(info->on_notify_finish);
     info->notify_result_bl->claim(m->get_data());
     info->on_notify_finish->complete(m->return_code);