]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mon: include 'max avail' in df output
authorSage Weil <sage@inktank.com>
Sun, 11 May 2014 20:36:03 +0000 (13:36 -0700)
committerSage Weil <sage@inktank.com>
Wed, 28 May 2014 20:57:40 +0000 (13:57 -0700)
commit7a9652b58ea70f9a484a135bde20d872616c5947
tree768c86bb43881da56604f5e4a78e3d076b306f57
parent2f63a309df4b7086725949bc0a532595cf927edf
mon: include 'max avail' in df output

Include an estimate of the maximum writeable space for each pool.  Note
that this value is a conservative estimate for that pool based on the
most-full OSD.  It is also potentially misleading as it is the available
space if *all* new data were written to this pool; one cannot (generally)
add up the available space for all pools.

Signed-off-by: Sage Weil <sage@inktank.com>
src/mon/PGMonitor.cc
src/mon/PGMonitor.h