]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
mds: fix `dump dir` indicate dir is not cached 55989/head
authorJos Collin <jcollin@redhat.com>
Mon, 9 Oct 2023 23:34:01 +0000 (05:04 +0530)
committerJos Collin <jcollin@redhat.com>
Wed, 6 Mar 2024 09:40:16 +0000 (15:10 +0530)
commit382e2cd189b5d13d8e20bc7acdad8f30d6a2bed1
treee0545dfd71f7fba315ef3562dd448b7e5727a341
parentcd88ef71e0858ead8f038dea9804376b3b0f97a5
mds: fix `dump dir` indicate dir is not cached

Example output:
$ ceph daemon mds.a dump dir /test-dir
[
    {
        "value/bits": "0/0",
        "status": "dirfrag not in cache"
    }
]

Fixes: https://tracker.ceph.com/issues/63093
Signed-off-by: Jos Collin <jcollin@redhat.com>
(cherry picked from commit 5fb2f98cbc1f4797f5d1c15bc8cd6d2b5ce35ecd)
src/mds/MDSRank.cc