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:
parent
5f4b5bd11c
commit
0bbb358c91
@ -752,7 +752,7 @@ my $volume_export_prepare = sub {
|
|||||||
my $cstream;
|
my $cstream;
|
||||||
if (defined($ratelimit_bps)) {
|
if (defined($ratelimit_bps)) {
|
||||||
$cstream = [ '/usr/bin/cstream', '-t', $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;
|
volume_snapshot($cfg, $volid, $snapshot) if $migration_snapshot;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user