]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
doc: Clean up and added placeholders for new definitions.
authorJohn Wilkins <john.wilkins@inktank.com>
Mon, 24 Sep 2012 04:52:43 +0000 (21:52 -0700)
committerJohn Wilkins <john.wilkins@inktank.com>
Mon, 24 Sep 2012 04:52:43 +0000 (21:52 -0700)
Signed-off-by: John Wilkins <john.wilkins@inktank.com>
doc/config-cluster/filestore-config-ref.rst

index 3367ace4ace21dc61a20fe3b1ecf5a870198736f..5a222e220eb48bd2a8c7819fb9031c05f6044b0f 100644 (file)
@@ -2,9 +2,12 @@
  Filestore Config Reference
 ============================
 
+``filestore``
 
-Extended Attributes
-===================
+:Description: IGNORE FOR NOW
+:Type: Boolean
+:Required: No
+:Default: ``false``
 
 
 ``filestore debug omap check``
@@ -15,6 +18,10 @@ Extended Attributes
 :Default: ``0``
 
 
+Extended Attributes
+===================
+
+
 ``filestore xattr use omap``
 
 :Description: Use object map for XATTRS. Set to ``true`` for ``ext4`` file systems. 
@@ -28,7 +35,7 @@ Extended Attributes
 :Description: The maximum size of an inlined XATTR in bytes. 
 :Type: Unsigned 32-bit Integer
 :Required: No
-:Default: 512
+:Default: ``512``
 
 
 ``filestore max inline xattrs``
@@ -70,11 +77,10 @@ efficient synchronization.
 Flusher
 =======
 
-The filestore flusher forces data from large writes to be written out
-using ``sync file range``
-before the sync in order to (hopefully) reduce the cost of the
-eventual sync. In practice,
-disabling 'filestore flusher' seems to improve performance in some cases.
+The filestore flusher forces data from large writes to be written out using
+``sync file range`` before the sync in order to (hopefully) reduce the cost of
+the eventual sync. In practice, disabling 'filestore flusher' seems to improve
+performance in some cases.
 
 
 ``filestore flusher``
@@ -205,30 +211,99 @@ Extent Mapping
 :Default: ``false``
 
 
-OPTION(filestore_fiemap_threshold, OPT_INT, 4096)
 
+``filestore fiemap threshold``
 
+:Description: 
+:Type: Integer
+:Required: No
+:Default: ``4096``
 
 
+Journal
+=======
 
-//Todo:
 
+``filestore journal parallel``
 
-``filestore``
+:Description: 
+:Type: Boolean
+:Required: No
+:Default: ``false``
 
-:Description: IGNORE FOR NOW
+
+``filestore journal writeahead``
+
+:Description:
+:Type: Boolean
+:Required: No
+:Default: ``false``
+
+
+``filestore journal trailing``
+
+:Description:
 :Type: Boolean
 :Required: No
 :Default: ``false``
 
 
-OPTION(filestore_journal_parallel, OPT_BOOL, false)
-OPTION(filestore_journal_writeahead, OPT_BOOL, false)
-OPTION(filestore_journal_trailing, OPT_BOOL, false)
-OPTION(filestore_merge_threshold, OPT_INT, 10)
-OPTION(filestore_split_multiple, OPT_INT, 2)
-OPTION(filestore_update_to, OPT_INT, 1000)
-OPTION(filestore_blackhole, OPT_BOOL, false)     // drop any new transactions on the floor
-OPTION(filestore_dump_file, OPT_STR, "")         // file onto which store transaction dumps
-OPTION(filestore_kill_at, OPT_INT, 0)            // inject a failure at the n'th opportunity
-OPTION(filestore_fail_eio, OPT_BOOL, true)       // fail/crash on EIO
+Misc
+====
+
+
+``filestore merge threshold``
+
+:Description: 
+:Type: Integer
+:Required: No
+:Default: ``10``
+
+
+``filestore split multiple``
+
+:Description: 
+:Type: Integer
+:Required: No
+:Default: ``2``
+
+
+``filestore update to``
+
+:Description: 
+:Type: Integer
+:Required: No
+:Default: ``1000``
+
+
+``filestore blackhole``
+
+:Description: Drop any new transactions on the floor.
+:Type: Boolean
+:Required: No
+:Default: ``false``
+
+
+``filestore dump file``
+
+:Description: File onto which store transaction dumps?
+:Type: Boolean
+:Required: No
+:Default: ``false``
+
+
+``filestore kill at``
+
+:Description: inject a failure at the n'th opportunity
+:Type: String
+:Required: No
+:Default: ``false``
+
+
+``filestore fail eio``
+
+:Description: Fail/Crash on eio.
+:Type: Boolean
+:Required: No
+:Default: ``true``
+