From e35ee0399b6806d93de1e57fa72be23860c806c1 Mon Sep 17 00:00:00 2001 From: Vladimir Grevtsev Date: Fri, 16 Nov 2018 22:16:12 +0300 Subject: [PATCH] Extending a Bluestore config options with examples This proposal is about adding some usage instructions and examples for future charm users. Change-Id: If6698e37e32fc2b526d546cb046a7c8091f66634 --- config.yaml | 24 ++++++++++++++++++------ 1 file changed, 18 insertions(+), 6 deletions(-) diff --git a/config.yaml b/config.yaml index 8e04fb10..1220334b 100644 --- a/config.yaml +++ b/config.yaml @@ -97,16 +97,28 @@ options: type: int default: 0 description: | - Size of a partition or file to use for BlueStore WAL (RocksDB WAL) - A default value is not set as it is calculated by ceph-disk if - not specified. + Size (in bytes) of a partition, file or LV to use for + BlueStore WAL (RocksDB WAL), provided on a per backend device basis. + . + Example: 128 GB device, 8 data devices provided in "osd-devices" + gives 128 / 8 GB = 16 GB = 16000000000 bytes per device. + . + A default value is not set as it is calculated by ceph-disk (before Luminous) + or the charm itself, when ceph-volume is used (Luminous and above). + bluestore-block-db-size: type: int default: 0 description: | - Size of a partition or file to use for BlueStore metadata - or RocksDB SSTs. A default value is not set as it is calculated - by ceph-disk if not specified. + Size (in bytes) of a partition, file or LV to use for BlueStore + metadata or RocksDB SSTs, provided on a per backend device basis. + . + Example: 128 GB device, 8 data devices provided in "osd-devices" + gives 128 / 8 GB = 16 GB = 16000000000 bytes per device. + . + A default value is not set as it is calculated by ceph-disk (before Luminous) + or the charm itself, when ceph-volume is used (Luminous and above). + osd-format: type: string default: xfs