]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mds: fix `dump dir` indicate dir is not cached 55986/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:31:35 +0000 (15:01 +0530)
commit50e6efd60dda3fb19f07f612c664bb089cb448a5
treebacb2979b49395f76d4aa38b0a2dc6ac609ef066
parent17336e7119089405865d546c3a89c9dc87d7329d
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