]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
mon: set MMonGetVersionReply tid 1849/head
authorIlya Dryomov <ilya.dryomov@inktank.com>
Mon, 12 May 2014 08:30:45 +0000 (12:30 +0400)
committerIlya Dryomov <ilya.dryomov@inktank.com>
Wed, 21 May 2014 08:20:51 +0000 (12:20 +0400)
commit9235dcb1effb1696429a34138776945ec0a86fb8
treebf3aee28ae2f922d3d07787c290b39f55bd9e588
parent405063b16e6a9679fcf97059a85e103b30e9f491
mon: set MMonGetVersionReply tid

Currently we don't set MMonGetVersionReply tid even if the original
MMonGetVersion message had a non-zero tid.  This is bad for the kernel
client, which has the infrastructure in place that relies on tids to
lookup message buffers and contexts.  To kick off transitioning away
from the workaround, set MMonGetVersionReply tid to the tid of the
original MMonGetVersion message.

Signed-off-by: Ilya Dryomov <ilya.dryomov@inktank.com>
src/mon/Monitor.cc