// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:nil -*-
// vim: ts=8 sw=2 sts=2 expandtab

#ifndef CEPH_LIBRBD_CACHE_TYPES_H
#define CEPH_LIBRBD_CACHE_TYPES_H

#include <list>
#include <string>

class Context;

namespace librbd {
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 PERSISTENT_CACHE_STATE = ".rbd_persistent_cache_state";

} // namespace cache
} // namespace librbd

#endif // CEPH_LIBRBD_CACHE_TYPES_H
