]> review.fuel-infra Code Review - openstack-build/cinder-build.git/commitdiff
NFS Backup: Correcting backup_sha_block_size_bytes help message
authorBharat Kumar Kobagana <bharat.kobagana@redhat.com>
Mon, 11 May 2015 10:31:10 +0000 (16:01 +0530)
committerTom Barron <tpb@dyncloud.net>
Mon, 18 May 2015 23:43:11 +0000 (23:43 +0000)
This patch corrects the help message of configuration parameter
"backup_sha_block_size_bytes".

Change-Id: I9d8082adad8ea13aec348a4cbb027ec16d4086a4
(cherry picked from commit 75d2eba05182acffad20d863a25c040bf601e38c)

cinder/backup/drivers/nfs.py

index 455d50dfbb436c52c60d44e8416eba32c1eb9427..3570378350f1c93cee68fde91226ecd1ed69ae6e 100644 (file)
@@ -39,12 +39,14 @@ nfsbackup_service_opts = [
                default=BACKUP_FILE_SIZE,
                help='The maximum size in bytes of the files used to hold '
                     'backups. If the volume being backed up exceeds this '
-                    'size, then it will be backed up into multiple files.'),
+                    'size, then it will be backed up into multiple files. '
+                    'backup_file_size must be a multiple of '
+                    'backup_sha_block_size_bytes.'),
     cfg.IntOpt('backup_sha_block_size_bytes',
                default=SHA_SIZE,
                help='The size in bytes that changes are tracked '
-                    'for incremental backups. backup_swift_object_size '
-                    'has to be multiple of backup_swift_block_size.'),
+                    'for incremental backups. backup_file_size '
+                    'has to be multiple of backup_sha_block_size_bytes.'),
     cfg.BoolOpt('backup_enable_progress_timer',
                 default=True,
                 help='Enable or Disable the timer to send the periodic '