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
|
void
|
||||||
close_rewind()
|
close_rewind()
|
||||||
{
|
{
|
||||||
|
time_t tstart_changevol, tend_changevol;
|
||||||
|
|
||||||
trewind();
|
trewind();
|
||||||
if (nexttape)
|
if (nexttape)
|
||||||
return;
|
return;
|
||||||
|
(void)time((time_t *)&(tstart_changevol));
|
||||||
if (!nogripe) {
|
if (!nogripe) {
|
||||||
msg("Change Volumes: Mount volume #%d\n", tapeno+1);
|
msg("Change Volumes: Mount volume #%d\n", tapeno+1);
|
||||||
broadcast("CHANGE DUMP VOLUMES!\7\7\n");
|
broadcast("CHANGE DUMP VOLUMES!\7\7\n");
|
||||||
@ -378,6 +381,9 @@ close_rewind()
|
|||||||
dumpabort(0);
|
dumpabort(0);
|
||||||
/*NOTREACHED*/
|
/*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
|
void
|
||||||
|
Loading…
Reference in New Issue
Block a user