mirror of
https://git.openafs.org/openafs.git
synced 2025-01-22 17:00:15 +00:00
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:
parent
a781c8a5bf
commit
b9d15d1b49
@ -211,13 +211,13 @@ afs_StoreAllSegments(avc, areq, sync)
|
|||||||
dcList = (struct dcache **) osi_AllocLargeSpace(AFS_LRALLOCSIZ);
|
dcList = (struct dcache **) osi_AllocLargeSpace(AFS_LRALLOCSIZ);
|
||||||
afs_Trace2(afs_iclSetp, CM_TRACE_STOREALL, ICL_TYPE_POINTER, avc,
|
afs_Trace2(afs_iclSetp, CM_TRACE_STOREALL, ICL_TYPE_POINTER, avc,
|
||||||
ICL_TYPE_OFFSET, ICL_HANDLE_OFFSET(avc->m.Length));
|
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
|
/* 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
|
* on the memcache case since that's we adjust the file's size
|
||||||
* and finish flushing partial vm pages.
|
* and finish flushing partial vm pages.
|
||||||
*/
|
*/
|
||||||
if (cacheDiskType != AFS_FCACHE_TYPE_MEM)
|
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
|
/* If we're not diskless, reading a file may stress the VM
|
||||||
* system enough to cause a pageout, and this vnode would be
|
* system enough to cause a pageout, and this vnode would be
|
||||||
|
Loading…
Reference in New Issue
Block a user