]> 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, 16 Feb 2023 00:48:28 +0000 (08:48 +0800)
commit4fb04172ba771b2a98759bc04148d7a7c23497d3
tree369a535cda24867fa35ab2aa3311e69e580e9e32
parentcbd7e3040208a5d89b9a95d4161dbd908da51079
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>
src/client/Client.cc