summaryrefslogtreecommitdiff
path: root/include/linux/crush
diff options
context:
space:
mode:
authorIlya Dryomov <idryomov@gmail.com>2017-07-26 10:59:15 +0300
committerIlya Dryomov <idryomov@gmail.com>2017-08-01 17:46:43 +0300
commit4690faf00cf838392ce038202a85ac0d5f1df598 (patch)
tree97424e686197e1bc440723548a312248aee27e9d /include/linux/crush
parent986e89898acb3d8f750f259a90cb73afca426b58 (diff)
downloadlinux-4690faf00cf838392ce038202a85ac0d5f1df598.tar.xz
libceph: don't call ->reencode_message() more than once per message
Reencoding an already reencoded message is a bad idea. This could happen on Policy::stateful_server connections (!CEPH_MSG_CONNECT_LOSSY), such as MDS sessions. This didn't pop up in testing because currently only OSD requests are reencoded and OSD sessions are always lossy. Fixes: 98ad5ebd1505 ("libceph: ceph_connection_operations::reencode_message() method") Signed-off-by: Ilya Dryomov <idryomov@gmail.com> Reviewed-by: "Yan, Zheng" <zyan@redhat.com>
Diffstat (limited to 'include/linux/crush')
0 files changed, 0 insertions, 0 deletions