]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
messages/MForward: reencode forwarded message if target has differing features
authorSage Weil <sage@redhat.com>
Sat, 22 Oct 2016 18:01:34 +0000 (14:01 -0400)
committerKefu Chai <kchai@redhat.com>
Wed, 2 Nov 2016 11:23:24 +0000 (19:23 +0800)
commit5d5b5952322bb6a571c9cd58fd3e683eb32a2509
treed58452321c873100631047be319edb0fbbe335f1
parente068c9206a3d618b3b04975d03f61ca64a92c4d4
messages/MForward: reencode forwarded message if target has differing features

This ensures we reencode the payload with the
appropriate set of features if the client, us, or the
target do not have identical features.  Otherwise we
may forward an encoding with more features than the
target can handle.

Signed-off-by: Sage Weil <sage@redhat.com>
(cherry picked from commit a433455e59067a844c3df4a0d6080db2ceb4ec59)
src/messages/MForward.h