]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mds: add CEPHFS_FEATURE_OP_GETVXATTR feature bit support
authorXiubo Li <xiubli@redhat.com>
Tue, 12 Jul 2022 14:33:45 +0000 (22:33 +0800)
committerXiubo Li <xiubli@redhat.com>
Thu, 1 Sep 2022 02:08:35 +0000 (10:08 +0800)
commit10ed79dcd2b350746983a42809aa726bfbc8d27e
tree507c439b7165d6f481c69d8ba96b0ea9c3255af2
parentd2a14aa5161adb792333151b7d197ea238d37213
mds: add CEPHFS_FEATURE_OP_GETVXATTR feature bit support

For old ceph if they receive unknown OPs, they will crash the MDS
daemons directly. So we need to distiguish whether the new OPs
is supported by the peer MDSs or not.

Fixes: https://tracker.ceph.com/issues/56529
Signed-off-by: Xiubo Li <xiubli@redhat.com>
(cherry picked from commit c7a0e71040e2a008497d4d7e2249f514bf082c92)
src/mds/cephfs_features.cc
src/mds/cephfs_features.h