rgw: add lc_pool when decode or encode struct RGWZoneParams

Signed-off-by: weiqiaomiao <wei.qiaomiao@zte.com.cn>
This commit is contained in:
weiqiaomiao 2016-07-26 11:12:35 +08:00
parent 2dbff88acc
commit e14f21ff28

View File

@ -812,6 +812,7 @@ void RGWZoneParams::dump(Formatter *f) const
encode_json("domain_root", domain_root.data_pool, f);
encode_json("control_pool", control_pool.data_pool, f);
encode_json("gc_pool", gc_pool.data_pool, f);
encode_json("lc_pool", lc_pool.data_pool, f);
encode_json("log_pool", log_pool.data_pool, f);
encode_json("intent_log_pool", intent_log_pool.data_pool, f);
encode_json("usage_log_pool", usage_log_pool.data_pool, f);
@ -856,6 +857,7 @@ void RGWZoneParams::decode_json(JSONObj *obj)
::decode_json("domain_root", domain_root, obj);
::decode_json("control_pool", control_pool, obj);
::decode_json("gc_pool", gc_pool, obj);
::decode_json("lc_pool", lc_pool, obj);
::decode_json("log_pool", log_pool, obj);
::decode_json("intent_log_pool", intent_log_pool, obj);
::decode_json("usage_log_pool", usage_log_pool, obj);