]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
MClientRequest: handle ext_num_retry and ext_num_fwd from ceph_mds_request_head_legacy 54410/head
authorAlexander Mikhalitsyn <aleksandr.mikhalitsyn@canonical.com>
Mon, 23 Oct 2023 12:34:26 +0000 (14:34 +0200)
committerAlexander Mikhalitsyn <aleksandr.mikhalitsyn@canonical.com>
Wed, 8 Nov 2023 06:45:28 +0000 (07:45 +0100)
commita8a5530243a5eb8a4c92787b1cb51f2d1102906a
treedbedde5b758ffcd2f08f5a257c44de36de9ebae4
parentc61b354937b45c01a3d7e4f1c40b64aa3d8fc3c7
MClientRequest: handle ext_num_retry and ext_num_fwd from ceph_mds_request_head_legacy

When a client is too old and uses struct ceph_mds_request_head_legacy we must
fill new ext_num_retry and ext_num_fwd fields from an old num_retry and num_fwd.

Fixes: https://github.com/ceph/ceph/pull/45669
Fixes: https://tracker.ceph.com/issues/63288
Fixes: commit cbd7e3040208 ("ceph_fs.h: add 32 bits extended num_retry and num_fwd support")
Signed-off-by: Alexander Mikhalitsyn <aleksandr.mikhalitsyn@canonical.com>
(cherry picked from commit 43f32a46aa9095b19525357ba7ca215e842b4f77)
src/messages/MClientRequest.h