]> git.proxmox.com Git - ceph.git/blobdiff - ceph/src/librbd/cache/Types.h
update source to Ceph Pacific 16.2.2
[ceph.git] / ceph / src / librbd / cache / Types.h
index b0852e7495902e7e662b2e41aa7fcb7442f19464..b791d590873732dc6d85858318a8896315d9ffab 100644 (file)
@@ -5,6 +5,7 @@
 #define CEPH_LIBRBD_CACHE_TYPES_H
 
 #include <list>
+#include <string>
 
 class Context;
 
@@ -13,10 +14,14 @@ namespace cache {
 
 enum ImageCacheType {
   IMAGE_CACHE_TYPE_RWL = 1,
+  IMAGE_CACHE_TYPE_SSD,
+  IMAGE_CACHE_TYPE_UNKNOWN
 };
 
 typedef std::list<Context *> Contexts;
 
+const std::string IMAGE_CACHE_STATE = ".librbd/image_cache_state";
+
 } // namespace cache
 } // namespace librbd