ceph/ceph — pull request #663 by liewegas (2013-09-30 23:33:52+00:00)
Title: osd/ReplicatedPG: fix iterator corruption in cancel_copy_ops()

The cancel_copy() method removes the entry from copy_ops. Move the iterator
forward before calling.

Fixes segfault when thrashing osds with a copy-from workload.

Signed-off-by: Sage Weil