]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
mds: fix `dump dir` indicate dir is not cached 55987/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:35:34 +0000 (15:05 +0530)
commit78644d9ba23a4f5d79aa2ed9c09b7ceff42f0f7a
tree523976e036799831254218bf2336a56eaa2b0c2c
parent8122c2abf8a046430664f6cf3b2eca0abab38445
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