]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
librbd/cache/pwl: rename persistent cache key
authorYin Congmin <congmin.yin@intel.com>
Wed, 22 Dec 2021 07:07:11 +0000 (15:07 +0800)
committerIlya Dryomov <idryomov@gmail.com>
Wed, 13 Apr 2022 10:57:45 +0000 (12:57 +0200)
commitbb72f60e52ff7ea86e1052a55cfdc5d7577aa80a
tree47d09885b1bb1ef06b780113e6d0f665d1a667d4
parentf8b96ce0d5ad4f088a93cbdaeef3a80758a91326
librbd/cache/pwl: rename persistent cache key

librbd "internal" metadata keys was change to ".rbd" prefix. Change
peristent cache to ".rbd" too.
And the name of  persistent cache key is IMAGE_CACHE_STATE. Since
this key is planned to be used outside the pwl directory, it seems
more appropriate to change it to a clear name as PERSISTENT_CACHE_STATE.

Signed-off-by: Yin Congmin <congmin.yin@intel.com>
(cherry picked from commit bd66fdda910f02ffe91bb026f82a85f28a6ff225)
src/librbd/cache/Types.h
src/librbd/cache/pwl/ImageCacheState.cc
src/librbd/cache/pwl/ShutdownRequest.cc
src/tools/rbd/action/Status.cc