]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
mon : Display full flag in ceph status if 9233/head
authorVikhyat Umrao <vumrao@redhat.com>
Fri, 20 May 2016 17:39:46 +0000 (23:09 +0530)
committerVikhyat Umrao <vumrao@redhat.com>
Fri, 20 May 2016 17:39:46 +0000 (23:09 +0530)
full flag is set

Fixes: http://tracker.ceph.com/issues/15809
Signed-off-by: Vikhyat Umrao <vumrao@redhat.com>
src/mon/OSDMonitor.cc

index c9f46f054e1a003df3fe0180635719c1b721fe18..7bdd2732c5672a5d517240520240d263d1069e98 100644 (file)
@@ -2853,7 +2853,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 |