]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
mgr/cephadm: only reapply osd spec if devices have changed
authorSage Weil <sage@newdream.net>
Tue, 2 Feb 2021 23:09:15 +0000 (17:09 -0600)
committerSebastian Wagner <sebastian.wagner@suse.com>
Mon, 22 Feb 2021 16:34:11 +0000 (17:34 +0100)
commit07c8ed9652c351ea32ef5bfa42c92e742ea7218b
tree9a2366ecd3f664a5b841225944a824253954e5ef
parent7d27352cdaaf0a4b85094ccb44209d17bfcb530d
mgr/cephadm: only reapply osd spec if devices have changed

This avoids a lot of useless work when the devices have not changed.

Signed-off-by: Sage Weil <sage@newdream.net>
(cherry picked from commit b129c1312113f56a227caeb535f656f5a090a85f)
src/pybind/mgr/cephadm/inventory.py
src/pybind/mgr/cephadm/services/osd.py