diff options
author | Yuri Weinstein <yuri.weinstein@gmail.com> | 2016-05-28 17:49:20 +0200 |
---|---|---|
committer | Yuri Weinstein <yuri.weinstein@gmail.com> | 2016-05-28 17:49:20 +0200 |
commit | b888ed6a5ed7daffe52edfa92452f81cce918d2a (patch) | |
tree | 782552266bb520f60d3cb33eb56d018ca311bc36 /src/mon | |
parent | Merge pull request #9234 from stiopaa1/osd_osdcap_preventCopyingVectorInConst... (diff) | |
parent | mon : Display full flag in ceph status if (diff) | |
download | ceph-b888ed6a5ed7daffe52edfa92452f81cce918d2a.tar.xz ceph-b888ed6a5ed7daffe52edfa92452f81cce918d2a.zip |
Merge pull request #9233 from vumrao/wip-vumrao-15809
mon : Display full flag in ceph status if full flag is set
Reviewed-by: Kefu Chai <kchai@redhat.com>
Diffstat (limited to 'src/mon')
-rw-r--r-- | src/mon/OSDMonitor.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mon/OSDMonitor.cc b/src/mon/OSDMonitor.cc index dab13cc4d88..c18583cb65d 100644 --- a/src/mon/OSDMonitor.cc +++ b/src/mon/OSDMonitor.cc @@ -2872,7 +2872,8 @@ void OSDMonitor::get_health(list<pair<health_status_t,string> >& summary, } // warn about flags - if (osdmap.test_flag(CEPH_OSDMAP_PAUSERD | + if (osdmap.test_flag(CEPH_OSDMAP_FULL | + CEPH_OSDMAP_PAUSERD | CEPH_OSDMAP_PAUSEWR | CEPH_OSDMAP_NOUP | CEPH_OSDMAP_NODOWN | |