afs_int32 roVol;
afs_int32 backVol;
afs_int32 rwVol; /* For r/o vols, original read/write volume. */
- afs_int32 accessTime; /* last time we used it */
+ afs_int32 setupTime; /* time volume was setup from vldb info */
afs_int32 vtix; /* volume table index */
afs_int32 copyDate; /* copyDate field, for tracking vol releases */
afs_int32 expireTime; /* for per-volume callbacks... */
lv = &afs_volumes[i];
for (tv = *lv; tv; lv = &tv->next, tv = *lv) {
if (tv->refCount == 0) { /* is this one available? */
- if (tv->accessTime < bestTime) { /* best one available? */
- bestTime = tv->accessTime;
+ if (tv->setupTime < bestTime) { /* best one available? */
+ bestTime = tv->setupTime;
bestLp = lv;
bestVp = tv;
}
}
tv->refCount++;
tv->states &= ~VRecheck; /* just checked it */
- tv->accessTime = osi_Time();
+ tv->setupTime = osi_Time();
ReleaseWriteLock(&afs_xvolume);
return tv;
}
vep->backVol);
#ifdef AFS33
printf
- ("\trwVol=%d, AcTime=%d, copyDate=%d, expTime=%d, vtix=%d, refC=%d, states=%x\n",
- vep->rwVol, vep->accessTime, vep->copyDate, vep->expireTime,
+ ("\trwVol=%d, setupTime=%d, copyDate=%d, expTime=%d, vtix=%d, refC=%d, states=%x\n",
+ vep->rwVol, vep->setupTime, vep->copyDate, vep->expireTime,
vep->vtix, vep->refCount, vep->states);
#else
printf
- ("\trwVol=%d, AcTime=%d, copyDate=%d, vtix=%d, refC=%d, states=%x\n",
- vep->rwVol, vep->accessTime, vep->copyDate, vep->vtix, vep->refCount,
+ ("\trwVol=%d, setupTime=%d, copyDate=%d, vtix=%d, refC=%d, states=%x\n",
+ vep->rwVol, vep->setupTime, vep->copyDate, vep->vtix, vep->refCount,
vep->states);
#endif
printf("\tVolume's statuses: ");