]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mds: fix hang issue when accessing a file under a lost parent directory 35690/head
authorZhi Zhang <willzzhang@tencent.com>
Fri, 10 Jul 2020 09:03:50 +0000 (17:03 +0800)
committerZhi Zhang <willzzhang@tencent.com>
Fri, 10 Jul 2020 09:03:50 +0000 (17:03 +0800)
commit778917c426d3c8611c5e5f209840a674c09fef0a
treed26f6ac0f6b135413653c2f2d376e2dd78404404
parent89ad6c8e5d789975ae995ed2ca413d19d3f3d7cd
mds: fix hang issue when accessing a file under a lost parent directory

When a directory metadata is lost, if we looked up a file under this lost directory,
this request will hang forever.

Fixes: https://tracker.ceph.com/issues/46129
Signed-off-by: Zhi Zhang <zhangz.david@outlook.com>
src/mds/CDir.cc
src/mds/CDir.h