]> git.proxmox.com Git - ceph.git/blobdiff - ceph/src/librbd/Types.h
import 15.2.0 Octopus source
[ceph.git] / ceph / src / librbd / Types.h
index 3f1104478ebcea505d3debe7e30cc212f0e8a193..2e014b8b476439ffc72aa047fc801e94092f8ab0 100644 (file)
@@ -94,6 +94,11 @@ enum {
   OPEN_FLAG_IGNORE_MIGRATING = 1 << 2
 };
 
+enum ImageReadOnlyFlag {
+  IMAGE_READ_ONLY_FLAG_USER        = 1 << 0,
+  IMAGE_READ_ONLY_FLAG_NON_PRIMARY = 1 << 1,
+};
+
 struct MigrationInfo {
   int64_t pool_id = -1;
   std::string pool_namespace;