]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mds: add volumes + status to data: section of 'ceph status'
authorSage Weil <sage@newdream.net>
Fri, 29 Jan 2021 21:41:48 +0000 (16:41 -0500)
committerPatrick Donnelly <pdonnell@redhat.com>
Thu, 25 Feb 2021 16:33:31 +0000 (08:33 -0800)
commit5f1ee6faf96439062c0dd5ec1a386b877350f3fb
tree293561c49c1ca3be70e465745759da60aaa97986
parentc17a902dd4e1ed1e357f43085354991ef4a51c96
mds: add volumes + status to data: section of 'ceph status'

This expands the data: section to include volume count and high-level
status, expanding the view of "logical" data services:

  data:
    volumes: 0/1 file systems healthy, 1 degraded
    pools:   3 pools, 65 pgs
    objects: 22 objects, 2.3 KiB
    usage:   1.0 GiB used, 100 GiB / 101 GiB avail
    pgs:     65 active+clean

or

  data:
    volumes: 1/1 file systems healthy
    pools:   3 pools, 65 pgs
    objects: 22 objects, 2.3 KiB
    usage:   1.0 GiB used, 100 GiB / 101 GiB avail
    pgs:     65 active+clean

Signed-off-by: Sage Weil <sage@newdream.net>
(cherry picked from commit 60ebc9b04e1baae080fc5680b2a1a469f87d93b5)
src/mds/FSMap.cc
src/mds/FSMap.h
src/mds/MDSMap.h
src/mon/MDSMonitor.h
src/mon/Monitor.cc