summaryrefslogtreecommitdiffstats
path: root/src/os/DBObjectMap.h
diff options
context:
space:
mode:
authorSamuel Just <sam.just@dreamhost.com>2012-05-30 06:45:08 +0200
committerSamuel Just <sam.just@inktank.com>2012-06-06 01:09:50 +0200
commitebfde20aab0396f393295258944b6e3c3c396077 (patch)
tree239ea267242c4b0d453d024a5ef2b82411f51569 /src/os/DBObjectMap.h
parentFileStore: skip omap during list_collections (diff)
downloadceph-ebfde20aab0396f393295258944b6e3c3c396077.tar.xz
ceph-ebfde20aab0396f393295258944b6e3c3c396077.zip
DBObjectMap: update header comments for new structure
Signed-off-by: Samuel Just <sam.just@inktank.com>
Diffstat (limited to 'src/os/DBObjectMap.h')
-rw-r--r--src/os/DBObjectMap.h8
1 files changed, 3 insertions, 5 deletions
diff --git a/src/os/DBObjectMap.h b/src/os/DBObjectMap.h
index ad3af46c05e..f9e143fd33b 100644
--- a/src/os/DBObjectMap.h
+++ b/src/os/DBObjectMap.h
@@ -28,10 +28,8 @@
* @see user_prefix
* @see sys_prefix
*
- * - LEAF_PREFIX: Contains mapping from (coll_t,hobject_t)->seq
- * - REVERSE_LEAF_PREFIX: Contains mapping from seq->[(coll_t, hobject_t)]
- * @see set_map_header
- * @see remove_map_header
+ * - HOBJECT_TO_SEQ: Contains leaf mapping from hobject_t->seq and
+ * corresponding omap header
* - SYS_PREFIX: GLOBAL_STATE_KEY - contains next seq number
* @see State
* @see write_state
@@ -45,7 +43,7 @@
* : USER_HEADER_KEY - omap header for header->seq
* : HEADER_KEY - encoding of header for header->seq
*
- * For each node (represented by a header, not counting LEAF_PREFIX space), we
+ * For each node (represented by a header), we
* store three mappings: the key mapping, the complete mapping, and the parent.
* The complete mapping (COMPLETE_PREFIX space) is key->key. Each x->y entry in
* this mapping indicates that the key mapping contains all entries on [x,y).