]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
messages/MOSDOp: fix reqid encoding/decoding 6174/head
authorSage Weil <sage@redhat.com>
Mon, 12 Oct 2015 12:30:28 +0000 (08:30 -0400)
committerSage Weil <sage@redhat.com>
Mon, 12 Oct 2015 12:30:28 +0000 (08:30 -0400)
commit0bf2a79e56ab1f3ad8d71e0c85418023d6a23587
tree3b3ba47aa893928939a303f962671d4519e63d6f
parent6f6fe39558a7e53e91be2047d7697ece37b23bf4
messages/MOSDOp: fix reqid encoding/decoding

Normally, we don't fill in reqid at all (it's only for proxied ops).  But
we need the reqid from the partial decode.  Put client_inc in reqid.inc
when encoding the new format, and when decoding the old formats.  Then
fabricate the correct reqid in get_reqid().

Signed-off-by: Sage Weil <sage@redhat.com>
src/messages/MOSDOp.h