]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
ceph-volume lvm.batch add sizing flags for journal and block.db LVs
authorAlfredo Deza <adeza@redhat.com>
Wed, 19 Sep 2018 21:08:16 +0000 (17:08 -0400)
committerAlfredo Deza <adeza@redhat.com>
Wed, 19 Sep 2018 21:08:16 +0000 (17:08 -0400)
Signed-off-by: Alfredo Deza <adeza@redhat.com>
src/ceph-volume/ceph_volume/devices/lvm/batch.py

index cd472ff3f96abbe4e61795c88285e06130520ffe..45e99c5a795b466a5fd61ead2abad8df671aaf4f 100644 (file)
@@ -212,6 +212,16 @@ class Batch(object):
             default=1,
             help='Provision more than 1 (the default) OSD per device',
         )
+        parser.add_argument(
+            '--block-db-size',
+            type=int,
+            help='Set (or override) the "bluestore_block_db_size" value, in bytes'
+        )
+        parser.add_argument(
+            '--journal-size',
+            type=int,
+            help='Override the "osd_journal_size" value, in megabytes'
+        )
         args = parser.parse_args(self.argv)
 
         if not args.devices: