]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
librbd: refresh full global config when applying metadata 41763/head
authorJason Dillaman <dillaman@redhat.com>
Thu, 29 Oct 2020 14:10:56 +0000 (10:10 -0400)
committerCory Snyder <csnyder@iland.com>
Fri, 16 Jul 2021 17:19:57 +0000 (13:19 -0400)
commitf5e7f3e750aaadcefba2e74ef7506a2387d9843c
treeeae9776c6c22128dba37a0df4e540abdede4b0ec
parent9491b7c9621dbbb2b53e4204d99567a09e2cde33
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>
(cherry picked from commit 352dec753ead8b61e19b46d096255e06393b740f)
src/librbd/ImageCtx.cc