From 9affeaf1778948d37926529fb35d32d3a14bbd2d Mon Sep 17 00:00:00 2001 From: Bharat Kumar Kobagana Date: Mon, 11 May 2015 16:01:10 +0530 Subject: [PATCH] NFS Backup: Correcting backup_sha_block_size_bytes help message 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 | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/cinder/backup/drivers/nfs.py b/cinder/backup/drivers/nfs.py index 455d50dfb..357037835 100644 --- a/cinder/backup/drivers/nfs.py +++ b/cinder/backup/drivers/nfs.py @@ -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 ' -- 2.45.2