It's an admittedly clumsy way of separating self-contained bits of state that do not require the osd_lock and can be safety accessed without the osd_lock from the pg worker threads from the state that does require the osd_lock. Think of it as a set of services provided by class OSD to PG implementations. -Sam On Fri, Dec 9, 2016 at 1:43 AM, xxhdx1985126 <xxhdx1985126@xxxxxxx> wrote: > > Hi, everyone. > > > I'm a little confused about OSDService. As far as I know, class OSD can accomplish all the task that a OSD need to do, what is OSDService used for? Especially, what is the meaning of methods like OSDService::get_nextmap_reserved, OSDService::release_map, OSDService::await_reserved_maps? > > > Thanks:-) -- To unsubscribe from this list: send the line "unsubscribe ceph-devel" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html