]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mds: skip fetching the dirfrags if not a directory
authorXiubo Li <xiubli@redhat.com>
Wed, 23 Feb 2022 14:21:11 +0000 (22:21 +0800)
committerXiubo Li <xiubli@redhat.com>
Wed, 3 Aug 2022 08:08:47 +0000 (16:08 +0800)
commit3a9d2dbf64fb81afedce13b0789b6c898fde68af
treefeafcadd4d3f3ae96a9ad4e9da8cfa198032f957
parente7e04ce69e5774675ffd6b7343c3c26d4a68f0ea
mds: skip fetching the dirfrags if not a directory

The backtrace in openfile table maybe out-of-date, just skip fetching
dirfrags instead of crash the MDS.

Fixes: https://tracker.ceph.com/issues/54384
Signed-off-by: Xiubo Li <xiubli@redhat.com>
(cherry picked from commit 655a6d878f9f4939b74fd9d010b9e017a33247c0)
src/mds/OpenFileTable.cc