]> 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
authorAlexander Mikhalitsyn <aleksandr.mikhalitsyn@canonical.com>
Mon, 23 Oct 2023 12:34:26 +0000 (14:34 +0200)
committerYuri Weinstein <yweinste@redhat.com>
Thu, 30 Nov 2023 18:16:07 +0000 (18:16 +0000)
commitfb7ed63dca70716c5071d1ef34f1852fa7726e60
treefc816a3de68f56802b4e8c4d9c869258296aa332
parent6c86da324d5733ef2768551db91b670156088da7
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)
(cherry picked from commit 312bb5b9f1ada9646205a78f0a0fcc73d2530d5c)
src/messages/MClientRequest.h