]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
librbd: notify watcher when updating image metadata
authorDongsheng Yang <dongsheng.yang@easystack.cn>
Fri, 11 Aug 2017 09:44:19 +0000 (17:44 +0800)
committerNathan Cutler <ncutler@suse.com>
Tue, 12 Dec 2017 11:10:54 +0000 (12:10 +0100)
commitcaf17a876e75cd448947b7b729a8e39689a304df
tree77e7581f43f0c0780f4344160b9b76375b4940aa
parentb3fd46810c01be00ebf26b9893d8bab107ee93f2
librbd: notify watcher when updating image metadata

Signed-off-by: Dongsheng Yang <dongsheng.yang@easystack.cn>
(cherry picked from commit b10d26dfa84627b2622d405d272b1133bb773245)

Conflicts:
    src/librbd/image/RefreshRequest.h (luminous does not have
        233482cf708aa7b4723c529d387c4605bdf0722f so we leave the following variables
        uninitialized:
          uint8_t m_order;
          uint64_t m_size;
          uint64_t m_features;
          uint64_t m_incompatible_features;
          uint64_t m_flags;
        )
src/librbd/Operations.cc
src/librbd/image/RefreshRequest.cc
src/librbd/image/RefreshRequest.h
src/test/librbd/image/test_mock_RefreshRequest.cc
src/test/librbd/mock/MockImageCtx.h