ceph/doc/rbd
Yin Congmin 769f3a06ec librbd/cache/pwl: add basic metrics to ImageCacheState
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>
2022-04-11 08:26:47 +02:00
..
api doc: data must be a byte string 2021-10-26 17:14:15 +02:00
man
disk.conf
index.rst
iscsi-initiator-esx.rst
iscsi-initiator-linux.rst doc: add iSCSI initiator client configuration section for cephadm 2021-10-18 13:21:43 +05:30
iscsi-initiator-win.rst
iscsi-initiators.rst doc: add iSCSI initiator client configuration section for cephadm 2021-10-18 13:21:43 +05:30
iscsi-monitoring.rst
iscsi-overview.rst
iscsi-requirements.rst
iscsi-target-ansible.rst doc,man: typos found by codespell 2021-12-15 12:04:36 +01:00
iscsi-target-cli-manual-install.rst
iscsi-target-cli.rst doc/iscsi: fix some typos 2021-09-20 16:02:33 +02:00
iscsi-targets.rst
libvirt.rst
qemu-rbd.rst
rados-rbd-cmds.rst
rbd-cloudstack.rst
rbd-config-ref.rst doc/rbd/rbd-config-ref: add more detail on QoS settings 2022-01-13 11:37:46 -05:00
rbd-encryption.rst doc,man: typos found by codespell 2021-12-15 12:04:36 +01:00
rbd-exclusive-locks.rst
rbd-integrations.rst
rbd-ko.rst
rbd-kubernetes.rst doc/rbd/rbd-kubernetes: add ceph.conf configmap 2021-09-24 16:44:46 +02:00
rbd-live-migration.rst
rbd-mirroring.rst doc/rbd/rbd-mirroring.rst: fix typos 2021-09-22 11:20:51 +08:00
rbd-nomad.rst doc/rbd/rbd-nomad: fix indentation in config snippets 2021-08-27 14:12:35 +02:00
rbd-openstack.rst doc,man: typos found by codespell 2021-12-15 12:04:36 +01:00
rbd-operations.rst doc/rbd: change persistent write-back cache to persistent write log cache 2021-12-31 16:04:19 +08:00
rbd-persistent-read-only-cache.rst
rbd-persistent-write-log-cache.rst librbd/cache/pwl: add basic metrics to ImageCacheState 2022-04-11 08:26:47 +02:00
rbd-replay.rst
rbd-snapshot.rst doc: fix up rbd snapshot docs around crash consistency 2021-11-01 23:36:47 +00:00
rbd-windows.rst doc/rbd/rbd-windows.rst: fix typos 2021-09-22 11:17:48 +08:00