]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
osd: share osd->osdmap with map cache
authorSage Weil <sage.weil@dreamhost.com>
Mon, 28 Feb 2011 21:11:05 +0000 (13:11 -0800)
committerSage Weil <sage.weil@dreamhost.com>
Mon, 28 Feb 2011 21:11:12 +0000 (13:11 -0800)
commit399032cca53c37dca08713818621a24b924fd4a6
treed7f65dc558ca5748e45290d34b0dc6412f5379bb
parent5a18f988397bf6938c0cad1d61b4e34d275f5b89
osd: share osd->osdmap with map cache

Make OSD::osdmap just a shortcut map pointer to the most recent OSDMap, the
same one that's in the map cache.

Signed-off-by: Sage Weil <sage.weil@dreamhost.com>
src/osd/OSD.cc
src/osd/OSD.h