]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
client: switch to use 32 bits ext_num_retry
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)
commit9254fcf5dcd75b674a4148ba7394a4fb473e4564
tree184d67d4c452ac44cabffbd41ffaea0aa4dac277
parent2f4bcbad33c5f6bfa8f275db014ccf37bcd63b8c
client: switch to use 32 bits ext_num_retry

Check the CEPHFS_FEATURE_32BITS_RETRY_FWD feature bit and if not
set, that means it's connecting to an old MDS and will limit the
max retry to 256 times.

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