Skip to content

Commit

Permalink
journal: send update notification when tag allocated
Browse files Browse the repository at this point in the history
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
  • Loading branch information
Jason Dillaman committed Sep 23, 2016
1 parent fd00549 commit f1cd613
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/journal/JournalMetadata.cc
Expand Up @@ -561,6 +561,7 @@ void JournalMetadata::unregister_client(Context *on_finish) {

void JournalMetadata::allocate_tag(uint64_t tag_class, const bufferlist &data,
Tag *tag, Context *on_finish) {
on_finish = new C_NotifyUpdate(this, on_finish);
C_AllocateTag *ctx = new C_AllocateTag(m_cct, m_ioctx, m_oid,
m_async_op_tracker, tag_class,
data, tag, on_finish);
Expand Down

0 comments on commit f1cd613

Please sign in to comment.