]> git.apps.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>
Tue, 12 Apr 2022 16:41:57 +0000 (18:41 +0200)
commitbd66fdda910f02ffe91bb026f82a85f28a6ff225
treead75cf4661bfc7323b46c50f1e9e33c7e3082af9
parent3c556878cf917850504ef1d3b931d838cef38746
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>
src/librbd/cache/Types.h
src/librbd/cache/pwl/ImageCacheState.cc
src/librbd/cache/pwl/ShutdownRequest.cc
src/tools/rbd/action/Status.cc