Project

General

Profile

Documentation #5058

Updated by Loïc Dachary almost 11 years ago

"work in progress":https://github.com/dachary/ceph/tree/wip-5058

* See OSD::handle_pg_(notify|info|log|query) relates to a function that has apparently been replaced by react() methods such as https://github.com/ceph/ceph/blob/master/src/osd/PG.cc#L6040
* "pull request":https://github.com/ceph/ceph/pull/283
** -http://ceph.com/docs/master/dev/osd_internals/map_message_handling/ says : "OSD::enqueue_op calls PG::queue_op which checks can_discard_request before queueing the op in the op_queue and the PG in the OpWQ."-
** -"OSD::handle_op":https://github.com/ceph/ceph/blob/master/src/osd/OSD.cc#L6244 calls "op_is_discardable":https://github.com/ceph/ceph/blob/master/src/osd/OSD.cc#L6461 which discards disconnected clients-
* add pull request here https://github.com/ceph/ceph/blob/master/doc/dev/osd_internals/pg_removal.rst
** -"DeletingState "DeletingState allows you to register a callback to be called when the deletion is finally complete. See PG::start_flush. " but "start_flush":https://github.com/ceph/ceph/blob/master/src/osd/PG.cc#L5001 does not directly show a callback registration. When this sentence was written there was a call to "register_on_delete":https://github.com/ceph/ceph/blob/24df8b1d8247a459527a28d3ee01086d22f1293d/src/osd/PG.cc#L3725 which was a "method of DeletingState":https://github.com/ceph/ceph/blob/24df8b1d8247a459527a28d3ee01086d22f1293d/src/osd/OSD.h#L136 at the time.- time.

Back