]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
OSDService: add osdmap reservation mechanism
authorSamuel Just <sam.just@inktank.com>
Thu, 7 Nov 2013 20:48:27 +0000 (12:48 -0800)
committerGreg Farnum <greg@inktank.com>
Mon, 5 May 2014 22:29:16 +0000 (15:29 -0700)
commit5abbbfeb372ac100977a71b8127490ede7ddc80c
tree72496ab5e7c553a09e1a543aee12247458dac13d
parent09bf5e80d5b357dc11b37a498ecd31dce97e10e9
OSDService: add osdmap reservation mechanism

The goal here is to be able to get "reserved" refs
to next_map, and ensure that pgs won't see a newer
map until the ref is "released".  I haven't done
a cute RAII trick here yet...probably not worth
the effort.

Signed-off-by: Samuel Just <sam.just@inktank.com>
Reviewed-by: Greg Farnum <greg@inktank.com>
Conflicts:
src/osd/OSD.h
Signed-off-by: Greg Farnum <greg@inktank.com>
src/osd/OSD.cc
src/osd/OSD.h