From 7d1522b26b4793a269e9942ade35406eefe2d11c Mon Sep 17 00:00:00 2001 From: xie xingguo Date: Wed, 17 Apr 2019 13:46:07 +0800 Subject: [PATCH] osd/osd_types: pool_stat_t::dump - fix 'num_store_stats' field Fixes: http://tracker.ceph.com/issues/39340 Signed-off-by: xie xingguo --- src/osd/osd_types.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/osd/osd_types.cc b/src/osd/osd_types.cc index 6240612a04b9b..d0b3d8b27586c 100644 --- a/src/osd/osd_types.cc +++ b/src/osd/osd_types.cc @@ -2995,7 +2995,7 @@ void pool_stat_t::dump(Formatter *f) const f->dump_int("ondisk_log_size", ondisk_log_size); f->dump_int("up", up); f->dump_int("acting", acting); - f->dump_int("num_store_stats", acting); + f->dump_int("num_store_stats", num_store_stats); } void pool_stat_t::encode(ceph::buffer::list &bl, uint64_t features) const -- 2.39.5