]> git.michaelhowe.org Git - packages/o/openafs.git/commitdiff
STABLE12-irix-memcache-dont-call-osi-vm-storeallsegments-20011226
authorChas Williams <chas@cmf.nrl.navy.mil>
Wed, 26 Dec 2001 20:29:19 +0000 (20:29 +0000)
committerDerrick Brashear <shadow@dementia.org>
Wed, 26 Dec 2001 20:29:19 +0000 (20:29 +0000)
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

src/afs/afs_segments.c

index 980e5ea8c34c4d49b2e158231f274ab64764a5b1..f67ab9f36e5f15c8156be4c32cc2cc1e96cb299b 100644 (file)
@@ -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