We decode this struct on the monitor. Although at the moment there's no
reports of any weird behavior by not initializing it, let's avoid it
completely by setting member values to zero -- just in case and because
it's a good policy.
Signed-off-by: Joao Eduardo Luis <joao@redhat.com>
uint64_t byte_avail;
int avail_percent;
+ ceph_data_stats() :
+ byte_total(0),
+ byte_used(0),
+ byte_avail(0),
+ avail_percent(0)
+ { }
+
void dump(Formatter *f) const {
assert(f != NULL);
f->dump_int("total", byte_total);