~ubuntu-branches/ubuntu/quantal/ceph/quantal

« back to all changes in this revision

Viewing changes to src/include/rbd_types.h

  • Committer: Package Import Robot
  • Author(s): James Page
  • Date: 2012-07-16 09:56:24 UTC
  • mfrom: (0.3.11)
  • mto: This revision was merged to the branch mainline in revision 17.
  • Revision ID: package-import@ubuntu.com-20120716095624-azr2w4hbhei1rxmx
Tags: upstream-0.48
ImportĀ upstreamĀ versionĀ 0.48

Show diffs side-by-side

added added

removed removed

Lines of Context:
19
19
#include <sys/types.h>
20
20
#endif
21
21
 
 
22
 
 
23
 
 
24
/* New-style rbd image 'foo' consists of objects
 
25
 *   rbd_header.foo         - image metadata
 
26
 *   rbd_data.<id>.00000000
 
27
 *   rbd_data.<id>.00000001
 
28
 *   ...                    - data
 
29
 */
 
30
 
 
31
#define RBD_HEADER_PREFIX      "rbd_header."
 
32
#define RBD_DATA_PREFIX        "rbd_data."
 
33
 
 
34
#define RBD_FEATURES_INCOMPATIBLE 0
 
35
#define RBD_FEATURES_ALL 0
 
36
 
22
37
/*
23
 
 * rbd image 'foo' consists of objects
 
38
 * old-style rbd image 'foo' consists of objects
24
39
 *   foo.rbd      - image metadata
25
 
 *   foo.00000000
26
 
 *   foo.00000001
 
40
 *   rb.<idhi>.<idlo>.00000000
 
41
 *   rb.<idhi>.<idlo>.00000001
27
42
 *   ...          - data
28
43
 */
29
44