mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-14 10:09:48 +00:00
Do not account the tape change time for ETA estimations.
PR: bin/4369 Submitted by: blank@fox.uni-trier.de (Sascha Blank)
This commit is contained in:
parent
b8904f2acb
commit
d6038ed629
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=30341
@ -366,9 +366,12 @@ trewind()
|
||||
void
|
||||
close_rewind()
|
||||
{
|
||||
time_t tstart_changevol, tend_changevol;
|
||||
|
||||
trewind();
|
||||
if (nexttape)
|
||||
return;
|
||||
(void)time((time_t *)&(tstart_changevol));
|
||||
if (!nogripe) {
|
||||
msg("Change Volumes: Mount volume #%d\n", tapeno+1);
|
||||
broadcast("CHANGE DUMP VOLUMES!\7\7\n");
|
||||
@ -378,6 +381,9 @@ close_rewind()
|
||||
dumpabort(0);
|
||||
/*NOTREACHED*/
|
||||
}
|
||||
(void)time((time_t *)&(tend_changevol));
|
||||
if ((tstart_changevol != (time_t)-1) && (tend_changevol != (time_t)-1))
|
||||
tstart_writing += (tend_changevol - tstart_changevol);
|
||||
}
|
||||
|
||||
void
|
||||
|
Loading…
Reference in New Issue
Block a user