]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
client: switch to use 32 bits ext_num_fwd
authorXiubo Li <xiubli@redhat.com>
Tue, 5 Jul 2022 04:59:11 +0000 (12:59 +0800)
committerXiubo Li <xiubli@redhat.com>
Thu, 30 Mar 2023 01:56:09 +0000 (09:56 +0800)
commit40c84c7a5a3e06f2d3c67593867978ebdf63e7cc
treee289b1bb64e0efc6377039e2096de9bdadadafd5
parent9254fcf5dcd75b674a4148ba7394a4fb473e4564
client: switch to use 32 bits ext_num_fwd

The MDS will increase the forward count, and if the forward count
is less than the one saved in request in client side, that means
the MDS is old version and it was overflowed. Then just stop
forwarding.

Fixes: https://tracker.ceph.com/issues/57854
Signed-off-by: Xiubo Li <xiubli@redhat.com>
(cherry picked from commit 3584ecc876b981b2204fbd7f720867e454639c58)
Conflicts:
- src/client/Client.cc: there is no -CEPHFS_EMULTIHOP
src/client/Client.cc