mirror of
https://github.com/ceph/ceph
synced 2024-12-27 05:53:20 +00:00
769f3a06ec
Add basic metrics to ImageCacheState and persist them, including allocated_bytes, cached_bytes, dirty_bytes, free_bytes and hit/miss info. Leverage periodic_stats() timer to call update_image_cache_state. In order to avoid outputting too much debug information, the original statistics output log level is changed to 5. Switch to json_spirit for encoding because encode_json encodes bool as "true"/"false" string. Remove rbd_persistent_cache_log_periodic_stats option because we need to always update cache state. [ idryomov: add cached_bytes and hits_partial; report misses and miss_bytes instead of respective totals; naming ] Fixes: https://tracker.ceph.com/issues/50614 Signed-off-by: Yin Congmin <congmin.yin@intel.com> Signed-off-by: Ilya Dryomov <idryomov@gmail.com> |
||
---|---|---|
.. | ||
api | ||
man | ||
disk.conf | ||
index.rst | ||
iscsi-initiator-esx.rst | ||
iscsi-initiator-linux.rst | ||
iscsi-initiator-win.rst | ||
iscsi-initiators.rst | ||
iscsi-monitoring.rst | ||
iscsi-overview.rst | ||
iscsi-requirements.rst | ||
iscsi-target-ansible.rst | ||
iscsi-target-cli-manual-install.rst | ||
iscsi-target-cli.rst | ||
iscsi-targets.rst | ||
libvirt.rst | ||
qemu-rbd.rst | ||
rados-rbd-cmds.rst | ||
rbd-cloudstack.rst | ||
rbd-config-ref.rst | ||
rbd-encryption.rst | ||
rbd-exclusive-locks.rst | ||
rbd-integrations.rst | ||
rbd-ko.rst | ||
rbd-kubernetes.rst | ||
rbd-live-migration.rst | ||
rbd-mirroring.rst | ||
rbd-nomad.rst | ||
rbd-openstack.rst | ||
rbd-operations.rst | ||
rbd-persistent-read-only-cache.rst | ||
rbd-persistent-write-log-cache.rst | ||
rbd-replay.rst | ||
rbd-snapshot.rst | ||
rbd-windows.rst |