Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix MOSDOp encoding #6174

Merged
merged 4 commits into from Oct 20, 2015
Merged

fix MOSDOp encoding #6174

merged 4 commits into from Oct 20, 2015

Commits on Oct 3, 2015

  1. messages/MOSDOp: avoid uninit/undecoded fields in print()

    Signed-off-by: Sage Weil <sage@redhat.com>
    liewegas committed Oct 3, 2015
    Copy the full SHA
    8e930e3 View commit details
    Browse the repository at this point in the history

Commits on Oct 9, 2015

  1. messages/MOSDOp: cleanup

    Signed-off-by: Sage Weil <sage@redhat.com>
    liewegas committed Oct 9, 2015
    Copy the full SHA
    453698f View commit details
    Browse the repository at this point in the history

Commits on Oct 12, 2015

  1. messages/MOSDOp: decode complete message for v6, too.

    We can't avoid this because we need the reqid before we've done the
    full decoding, and that is at the very end of v6.  Too bad, so sad!
    
    Signed-off-by: Sage Weil <sage@redhat.com>
    liewegas committed Oct 12, 2015
    Copy the full SHA
    6f6fe39 View commit details
    Browse the repository at this point in the history
  2. 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>
    liewegas committed Oct 12, 2015
    Copy the full SHA
    0bf2a79 View commit details
    Browse the repository at this point in the history