irix-memcache-dont-call-osi-vm-storeallsegments-20011110

this caused a call to pdflush to happen at the wrong time, which should fix
the zero filled files problem, the osi_assert(cred) problem and the
execsorwriters == 0 warnings to go away
This commit is contained in:
Chas Williams 2001-11-10 17:53:04 +00:00 committed by Derrick Brashear
parent a781c8a5bf
commit b9d15d1b49

View File

@ -211,13 +211,13 @@ afs_StoreAllSegments(avc, areq, sync)
dcList = (struct dcache **) osi_AllocLargeSpace(AFS_LRALLOCSIZ);
afs_Trace2(afs_iclSetp, CM_TRACE_STOREALL, ICL_TYPE_POINTER, avc,
ICL_TYPE_OFFSET, ICL_HANDLE_OFFSET(avc->m.Length));
#ifndef AFS_AIX32_ENV
#if !defined(AFS_AIX32_ENV) && !defined(AFS_SGI65_ENV)
/* In the aix vm implementation we need to do the vm_writep even
* on the memcache case since that's we adjust the file's size
* and finish flushing partial vm pages.
*/
if (cacheDiskType != AFS_FCACHE_TYPE_MEM)
#endif /* AFS_AIX32_ENV */
#endif /* !AFS_AIX32_ENV && !AFS_SGI65_ENV */
{
/* If we're not diskless, reading a file may stress the VM
* system enough to cause a pageout, and this vnode would be