When dumping statistics of OSDs such as running command "ceph osd df",
the sum of OSDs' size is 2^10 times less than their real size.
Fixes: #11534
Signed-off-by: Zhe Zhang <zzxuanyuan@gmail.com>
(cherry picked from commit
73d16f69d6f58fe8be262b0fb8db28c94605ea7d)
dump_stray(tbl);
*tbl << "" << "" << "TOTAL"
- << si_t(pgm->osd_sum.kb)
+ << si_t(pgm->osd_sum.kb << 10)
<< si_t(pgm->osd_sum.kb_used << 10)
<< si_t(pgm->osd_sum.kb_avail << 10)
<< lowprecision_t(average_util)