From: Bharat Kumar Kobagana Date: Mon, 11 May 2015 10:31:10 +0000 (+0530) Subject: NFS Backup: Correcting backup_sha_block_size_bytes help message X-Git-Url: https://review.fuel-infra.org/gitweb?a=commitdiff_plain;h=9affeaf1778948d37926529fb35d32d3a14bbd2d;p=openstack-build%2Fcinder-build.git 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) --- 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 '