]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
osd: drop the interim set from load_pgs() 6277/head
authorPiotr Dałek <piotr.dalek@ts.fujitsu.com>
Thu, 15 Oct 2015 08:53:55 +0000 (10:53 +0200)
committerPiotr Dałek <piotr.dalek@ts.fujitsu.com>
Thu, 15 Oct 2015 08:53:55 +0000 (10:53 +0200)
commitf9c44ef81c02b1bd72c7c58513ac5eeb7296cf6c
tree405776b628d5f12e53d24cad81215866e56be74a
parent713b6d4275dd8d6f7448433cb9ee765fbcdf3030
osd: drop the interim set from load_pgs()

During execution of load_pgs(), all PGs are added to interim set and then
processed again from the beginning. Discard this extra loop and entire
interim set, saving a bit of memory and CPU time (by better utilization
of L1/L2 caches).

Signed-off-by: Piotr Dałek <piotr.dalek@ts.fujitsu.com>
src/osd/OSD.cc