]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mgr/cephadm: do not refresh device inventory on mgr restart 33495/head
authorSage Weil <sage@redhat.com>
Sun, 23 Feb 2020 14:32:05 +0000 (08:32 -0600)
committerSage Weil <sage@redhat.com>
Mon, 24 Feb 2020 16:35:26 +0000 (10:35 -0600)
commit667405dc2e9feeb1153df137252945abf00929da
treec9706d678bc3099d97613c93ad1b7e835104808e
parent8095d94124482333c71fb4c2561a6d6a5624b5c1
mgr/cephadm: do not refresh device inventory on mgr restart

The service inventory is more fluid and is faster to gather.  We also
make a time-saving assumption that we don't need to persist our cache
updates when making changes because we know a mgr restart will refresh.

Device inventory changes are much less frequent and slower.  Let's not
refresh them every restart.

Signed-off-by: Sage Weil <sage@redhat.com>
src/pybind/mgr/cephadm/module.py