]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
osd: moved OpFinisher logic from OSDOp to OpContext
authorJason Dillaman <dillaman@redhat.com>
Thu, 27 Jul 2017 01:47:47 +0000 (21:47 -0400)
committerJason Dillaman <dillaman@redhat.com>
Thu, 27 Jul 2017 18:12:17 +0000 (14:12 -0400)
commitda622254484196e951b748b51dd4bb9f498c83a9
tree2881964f2cc5d20c97b43e50d5278a0cda4597f0
parentba03ab92a8dc9ddbba8bd93701969a5f23a31854
osd: moved OpFinisher logic from OSDOp to OpContext

This allows the memory lifetime of the OpFinisher to be tightly
controlled since the OpContext cannot be copied.

Fixes: http://tracker.ceph.com/issues/20783
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
src/osd/PrimaryLogPG.cc
src/osd/PrimaryLogPG.h
src/osd/osd_types.h