summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorJosh Durgin <josh.durgin@inktank.com>2012-06-08 08:40:27 -0700
committerJosh Durgin <josh.durgin@inktank.com>2012-06-09 17:24:50 -0700
commita5026303f40e9ad05079ddcc75b30ac3066107fa (patch)
tree95251994eb894d11094c17957b86e5eda7b40e81 /doc
parent123250b49d2c6be9ba0a8ec0dfd3b9ed8aae139a (diff)
downloadceph-a5026303f40e9ad05079ddcc75b30ac3066107fa.tar.gz
rados: add commands to interact with object maps
The input values are stored as-is, and any values read are dumped in hex. Rename listomap to listomapkeys to distinguish from listomapvalues. Also add it to the man page. Signed-off-by: Josh Durgin <josh.durgin@inktank.com>
Diffstat (limited to 'doc')
-rw-r--r--doc/man/8/rados.rst21
1 files changed, 21 insertions, 0 deletions
diff --git a/doc/man/8/rados.rst b/doc/man/8/rados.rst
index b805f63236f..0122f350d31 100644
--- a/doc/man/8/rados.rst
+++ b/doc/man/8/rados.rst
@@ -98,6 +98,27 @@ Pool specific commands
object size is 4 KB, and the default number of simulated threads
(parallel writes) is 16.
+:command:`listomapkeys` *name*
+ List all the keys stored in the object map of object name.
+
+:command:`listomapvals` *name*
+ List all key/value pairs stored in the object map of object name.
+ The values are dumped in hexadecimal.
+
+:command:`getomapval` *name* *key*
+ Dump the hexadecimal value of key in the object map of object name.
+
+:command:`setomapval` *name* *key* *value*
+ Set the value of key in the object map of object name.
+
+:command:`rmomapkey` *name* *key*
+ Remove key from the object map of object name.
+
+:command:`getomapheader` *name*
+ Dump the hexadecimal value of the object map header of object name.
+
+:command:`setomapheader` *name* *value*
+ Set the value of the object map header of object name.
Examples
========