]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
ceph.conf: update sample 3140/head
authorSébastien Han <sebastien.han@enovance.com>
Wed, 10 Dec 2014 14:32:17 +0000 (15:32 +0100)
committerSébastien Han <sebastien.han@enovance.com>
Wed, 10 Dec 2014 14:32:17 +0000 (15:32 +0100)
This commit adds:

* client admin socket
* change some default
* re-indent

Signed-off-by: Sébastien Han <sebastien.han@enovance.com>
src/sample.ceph.conf

index b2c56f54ba8f09da17144ed54f9fa326a1f5235b..93c4987a1927371b2003945f28206af8e349929d 100644 (file)
     # Enable caching for RADOS Block Device (RBD).
     # Type: Boolean
     # Required: No
-    # (Default: false)
-    rbd cache                  = true
+    # (Default: true)
+    rbd cache                           = true
 
     # The RBD cache size in bytes.
     # Type: 64-bit Integer
     # Required: No
     # (Default: 32 MiB)
-    ;rbd cache size            = 33554432
+    ;rbd cache size                     = 33554432
 
     # The dirty limit in bytes at which the cache triggers write-back.
     # If 0, uses write-through caching.
     # Required: No
     # Constraint: Must be less than rbd cache size.
     # (Default: 24 MiB)
-    ;rbd cache max dirty       = 25165824
+    ;rbd cache max dirty                = 25165824
 
     # The dirty target before the cache begins writing data to the data storage.
     # Does not block writes to the cache.
     # Required: No
     # Constraint: Must be less than rbd cache max dirty.
     # (Default: 16 MiB)
-    ;rbd cache target dirty    = 16777216
+    ;rbd cache target dirty             = 16777216
 
     # The number of seconds dirty data is in the cache before writeback starts.
     # Type: Float
     # Required: No
     # (Default: 1.0)
-    ;rbd cache max dirty age   = 1.0
+    ;rbd cache max dirty age            = 1.0
 
     # Start out in write-through mode, and switch to write-back after the
     # first flush request is received. Enabling this is a conservative but
     # like the virtio driver in Linux before 2.6.32.
     # Type: Boolean
     # Required: No
-    # (Default: false)
-    ;rbd cache writethrough until flush = false
+    # (Default: true)
+    ;rbd cache writethrough until flush = true
+
+    # The Ceph admin socket allows you to query a daemon via a socket interface
+    # From a client perspective this can be a virtual machine using librbd
+    # Type: String
+    # Required: No
+    ;admin socket                       = /var/run/ceph/$cluster-$type.$id.$pid.$cctid.asok
+
 
 ##################
 ## radosgw client settings