]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
messages/MOSDOp: clear reqid inc for v6 encoding 8299/head
authorSage Weil <sage@redhat.com>
Sat, 26 Mar 2016 01:56:01 +0000 (21:56 -0400)
committerSage Weil <sage@redhat.com>
Sat, 26 Mar 2016 01:56:10 +0000 (21:56 -0400)
commitbdca28ddfb4a1172e58f40d38df250d17f014baf
tree7dc87a1d321ccfac15fece9fda8a4b8d32328391
parent294b7b7b1475080cf776b5b3202423cf1c76cd46
messages/MOSDOp: clear reqid inc for v6 encoding

For the new v7 encoding, we put the client incarnation in the
reqid so that we can have it at the beginning of the encoding.
However, we do *not* want to do this for the v6 encoding, as that
version of get_reqid() will return reqid if it is not ==
osd_reqid_t().

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