]> 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>
Tue, 30 Aug 2022 02:43:01 +0000 (10:43 +0800)
commit5f65d71a7556ed7f20cd84f909c838b1e5b9039d
treeb3768de4389408489428792c78881f5c8a08dea6
parentce189521db32407616eab7fb3d562c9a30af58ef
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