Go to the documentation of this file.
13 #ifndef CEPH_RBD_TYPES_H
14 #define CEPH_RBD_TYPES_H
16 #include <linux/types.h>
27 #define RBD_HEADER_PREFIX "rbd_header."
28 #define RBD_DATA_PREFIX "rbd_data."
29 #define RBD_ID_PREFIX "rbd_id."
40 #define RBD_SUFFIX ".rbd"
42 #define RBD_DIRECTORY "rbd_directory"
43 #define RBD_INFO "rbd_info"
45 #define RBD_DEFAULT_OBJ_ORDER 22
46 #define RBD_MIN_OBJ_ORDER 16
47 #define RBD_MAX_OBJ_ORDER 30
49 #define RBD_MAX_SEG_NAME_LEN 128
51 #define RBD_COMP_NONE 0
52 #define RBD_CRYPT_NONE 0
54 #define RBD_HEADER_TEXT "<<< Rados Block Device Image >>>\n"
55 #define RBD_HEADER_SIGNATURE "RBD"
56 #define RBD_HEADER_VERSION "001.005"