mirror of
https://git.openafs.org/openafs.git
synced 2025-01-18 23:10:58 +00:00
split-dcache-fixes-20050604
based on discussions with jhutz@cmu.edu and chas@cmf.nrl.navy.mil
This commit is contained in:
parent
23cbd8f646
commit
edb1f92a67
@ -646,9 +646,9 @@ afs_GetDownD(int anumber, int *aneedSpace, afs_int32 buckethint)
|
||||
if (tvc) {
|
||||
tchunkoffset = AFS_CHUNKTOBASE(tdc->f.chunk);
|
||||
chunkFlags = afs_indexFlags[tdc->index];
|
||||
if ((((phase / 2) & 1) == 0) && osi_Active(tvc))
|
||||
if (((phase & 1) == 0) && osi_Active(tvc))
|
||||
skip = 1;
|
||||
if ((((phase / 2) & 1) == 1) && osi_Active(tvc)
|
||||
if (((phase & 1) == 1) && osi_Active(tvc)
|
||||
&& (tvc->states & CDCLock)
|
||||
&& (chunkFlags & IFAnyPages))
|
||||
skip = 1;
|
||||
@ -794,7 +794,7 @@ afs_GetDownD(int anumber, int *aneedSpace, afs_int32 buckethint)
|
||||
}
|
||||
} else {
|
||||
/* found no one in phases 0-5, we're hosed */
|
||||
if (victimPtr == 0)
|
||||
if (j == 0)
|
||||
break;
|
||||
}
|
||||
} /* big while loop */
|
||||
|
Loading…
Reference in New Issue
Block a user