From: Chas Williams Date: Wed, 26 Dec 2001 20:29:19 +0000 (+0000) Subject: STABLE12-irix-memcache-dont-call-osi-vm-storeallsegments-20011226 X-Git-Tag: openafs-stable-1_2_3~72 X-Git-Url: https://git.michaelhowe.org/gitweb/?a=commitdiff_plain;h=42927025e6926416ad216ae4ff505730ff2540de;p=packages%2Fo%2Fopenafs.git STABLE12-irix-memcache-dont-call-osi-vm-storeallsegments-20011226 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 --- diff --git a/src/afs/afs_segments.c b/src/afs/afs_segments.c index 980e5ea8c..f67ab9f36 100644 --- a/src/afs/afs_segments.c +++ b/src/afs/afs_segments.c @@ -182,13 +182,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_INT32, 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