From: Patrick Donnelly Date: Wed, 15 Jan 2020 20:26:40 +0000 (-0800) Subject: mds: do not include metric_spec in MClientSession from MDS X-Git-Tag: v15.1.0~157^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=3ef15814927c32f15248f338a2286ac24ef4b10f;p=ceph.git mds: do not include metric_spec in MClientSession from MDS Otherwise the older kernel clients get confused. Credit to Jeff Layton for pointing me in the right direction. Fixes: 55d8fdef68740c4f0a83d55a04ac7a10ff4db15b Fixes: https://tracker.ceph.com/issues/43599 Signed-off-by: Patrick Donnelly --- diff --git a/src/messages/MClientSession.h b/src/messages/MClientSession.h index 7c3fbfafc4d7..d129fb90bf50 100644 --- a/src/messages/MClientSession.h +++ b/src/messages/MClientSession.h @@ -87,8 +87,8 @@ public: header.version = HEAD_VERSION; encode(metadata, payload); encode(supported_features, payload); + encode(metric_spec, payload); } - encode(metric_spec, payload); } private: template