(Closes: #528785)
- STABLE14-linux-mmap-antirecursion-fix-20090512: improvements in
flag setting and locking around recursive mmap protection.
+ - STABLE14-memcache-write-on-laststore-20090512: write back dirty
+ pages on last store with memcache to avoid losing changes.
* Provide an openafs-modules-dkms package that uses DKMS to dynamically
build kernel modules for the local kernel and document this option in
README.modules. This is an alternative to installing
#include "afs/param.h"
RCSID
- ("$Header: /cvs/openafs/src/afs/afs_segments.c,v 1.16.2.6 2007/12/04 21:12:16 shadow Exp $");
+ ("$Header: /cvs/openafs/src/afs/afs_segments.c,v 1.16.2.7 2009/05/12 16:42:48 shadow Exp $");
#include "afs/sysincludes.h" /*Standard vendor system headers */
#include "afsincludes.h" /*AFS-based standard headers */
* 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)
+ if ((cacheDiskType != AFS_FCACHE_TYPE_MEM) || (sync & AFS_LASTSTORE))
#endif /* !AFS_AIX32_ENV && !AFS_SGI65_ENV */
{
/* If we're not diskless, reading a file may stress the VM