]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
osd: remember past intervals instead of recalculating each time
authorSage Weil <sage@newdream.net>
Mon, 17 Nov 2008 17:03:47 +0000 (09:03 -0800)
committerSage Weil <sage@newdream.net>
Mon, 17 Nov 2008 17:06:54 +0000 (09:06 -0800)
commit1c64db014c681f2746a43faceb4775ed897a3269
tree83942ce7c7c284177944e26a1642770745671410
parent5aad578f910eac4447a5dbbe3b4ef85b587521d3
osd: remember past intervals instead of recalculating each time

This _vastly_ improves the speed of build_prior (and thus activate_map).
There is no need to recalculate this information each time as it is fully
dependent on _old_ OSDMaps, not current cluster state.
src/osd/OSD.cc
src/osd/PG.cc
src/osd/PG.h