]> git.proxmox.com Git - ceph.git/blobdiff - ceph/src/librbd/io/Types.h
update sources to v12.1.2
[ceph.git] / ceph / src / librbd / io / Types.h
index 874e1dd3e28eabd145a825ecd409d539ce2d0538..2b69d7bbcf032128e833885050e3cd75791829d9 100644 (file)
@@ -21,8 +21,15 @@ typedef enum {
   AIO_TYPE_DISCARD,
   AIO_TYPE_FLUSH,
   AIO_TYPE_WRITESAME,
+  AIO_TYPE_COMPARE_AND_WRITE,
 } aio_type_t;
 
+enum Direction {
+  DIRECTION_READ,
+  DIRECTION_WRITE,
+  DIRECTION_BOTH
+};
+
 typedef std::vector<std::pair<uint64_t, uint64_t> > Extents;
 typedef std::map<uint64_t, uint64_t> ExtentMap;