]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
rados,mon: improve ceph and rados df reports.
authorIgor Fedotov <ifedotov@suse.com>
Fri, 23 Feb 2018 10:03:54 +0000 (13:03 +0300)
committerIgor Fedotov <ifedotov@suse.com>
Thu, 6 Dec 2018 15:54:21 +0000 (18:54 +0300)
commitdb5c5cce5513080ab81c69a705440174645332a8
tree3ec0602307e7fb560cf693856d29568993a841b6
parent63df4060824316476e5e022e1a923c57090c2be7
rados,mon: improve ceph and rados df reports.

Fixes: https://tracker.ceph.com/issues/22159
Fixes: https://tracker.ceph.com/issues/20870
This adds  more parameters to estimate allocation granularity overhead and compression
effectiveness. RAW_USED column has been removed. USED column reflects
amount of space allocated for a pool at all replicas. Including
allocaction granularity overhead and taking ompression savings and
object content gaps into account.

Following columns were appended:
* STORED - approximation of bytes users've actually stored in a
pool, i.e netto data amount without compression, allocation and
other overheads (not applicable for 'rados df').
* USED COMPR - amount of bytes allocated to store compressed data, i.e.
compressed data plus allocation/replication overhead.
* UNDER COMPR - amount of data(icluding repicated one) passed through
compression and stored in that form.

Signed-off-by: Igor Fedotov <ifedotov@suse.com>
src/include/rados/librados.h
src/librados/librados_c.cc
src/librados/librados_cxx.cc
src/messages/MPGStats.h
src/mon/PGMap.cc
src/tools/rados/rados.cc