From b9d15d1b49aff5360f0c327ed703433565b00d57 Mon Sep 17 00:00:00 2001 From: Chas Williams Date: Sat, 10 Nov 2001 17:53:04 +0000 Subject: [PATCH] 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 --- src/afs/afs_segments.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/afs/afs_segments.c b/src/afs/afs_segments.c index b3c25a1..481050b 100644 --- a/src/afs/afs_segments.c +++ b/src/afs/afs_segments.c @@ -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 -- 1.9.4