]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
librbd: refresh full global config when applying metadata 37894/head
authorJason Dillaman <dillaman@redhat.com>
Thu, 29 Oct 2020 14:10:56 +0000 (10:10 -0400)
committerJason Dillaman <dillaman@redhat.com>
Thu, 29 Oct 2020 18:15:05 +0000 (14:15 -0400)
commit352dec753ead8b61e19b46d096255e06393b740f
treeb3f459d06e5f118b1153305a3cb3edc42639a27f
parentd47c1804778fb7bada8e2a0892cdfc77db18ada4
librbd: refresh full global config when applying metadata

The ConfigProxy contains a point-in-time copy of the global config
that is dynamically updated in CephContext::_conf. Upon an image
refresh, pull the latest version of the global config from the
CephContext and apply it to the config stored within the ImageCtx.

Fixes: https://tracker.ceph.com/issues/48035
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
src/librbd/ImageCtx.cc