]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
OSD: pass osdmap to handle_op and handle_replica_op
authorSamuel Just <sam.just@inktank.com>
Fri, 8 Nov 2013 17:35:54 +0000 (09:35 -0800)
committerGreg Farnum <greg@inktank.com>
Mon, 5 May 2014 22:29:16 +0000 (15:29 -0700)
commit6d5334928292576c28329db6f875c356a9965019
treed2e0e8f27275ed85d64884476ff1f0cde7cd5b91
parent475d8319dd5a176bb6df060237a4beae9eab9d19
OSD: pass osdmap to handle_op and handle_replica_op

We need a map to process them, and we don't want to
take the OSD lock to access one. (And we can't just
use the service because we need all processing of
a message to be done with the same map.)

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