]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
PGMonitor: fix bug in caculating pool avail space
authorXiaoxi Chen <xiaoxi.chen@intel.com>
Mon, 28 Jul 2014 08:54:48 +0000 (16:54 +0800)
committerXiaoxi Chen <xiaoxi.chen@intel.com>
Mon, 28 Jul 2014 09:47:51 +0000 (17:47 +0800)
commit04d0526718ccfc220b4fe0c9046ac58899d9dafc
tree927bbf547ca01f9b3a0b9390af5fa4fb219d1eff
parent288908b3316bc975a2b3f75aea5131d7c1cba57f
PGMonitor: fix bug in caculating pool avail space

Currently for pools with different rules, "ceph df" cannot report
right available space for them, respectively. For detail assisment
of the bug ,pls refer to bug report #8943

This patch fix this bug and make ceph df works correctlly.

Fixes Bug #8943

Signed-off-by: Xiaoxi Chen <xiaoxi.chen@intel.com>
src/crush/CrushWrapper.cc
src/crush/CrushWrapper.h
src/mon/PGMonitor.cc