5
0
mirror of git://git.proxmox.com/git/pve-storage.git synced 2025-03-11 16:58:28 +03:00

volume export: explicitly state unit of bandwidth limit

Other places like replication explicitly state whether byte or bit
are used as a unit rather than only the abbreviation.

Signed-off-by: Stefan Hanreich <s.hanreich@proxmox.com>
This commit is contained in:
Stefan Hanreich 2023-03-29 14:34:35 +02:00 committed by Thomas Lamprecht
parent 5f4b5bd11c
commit 0bbb358c91

View File

@ -752,7 +752,7 @@ my $volume_export_prepare = sub {
my $cstream;
if (defined($ratelimit_bps)) {
$cstream = [ '/usr/bin/cstream', '-t', $ratelimit_bps ];
$logfunc->("using a bandwidth limit of $ratelimit_bps bps for transferring '$volid'") if $logfunc;
$logfunc->("using a bandwidth limit of $ratelimit_bps bytes per second for transferring '$volid'") if $logfunc;
}
volume_snapshot($cfg, $volid, $snapshot) if $migration_snapshot;