[PVFS2-CVS] commit by neill in pvfs2/src/apps/kernel/linux: pvfs2-client-core.c

CVS commit program cvs at parl.clemson.edu
Tue Jul 27 14:08:52 EDT 2004


Update of /projects/cvsroot/pvfs2/src/apps/kernel/linux
In directory parlweb:/tmp/cvs-serv31978/src/apps/kernel/linux

Modified Files:
	pvfs2-client-core.c 
Log Message:
- some acache tweaks and more comments -- try to more aggressively reclaim
  cache entries if we've reached the specified soft limit
- re-disable the acache timeout in the pvfs2-client-core; my testing is done
  for now as we can build pvfs2 on pvfs2 at this point with the acache enabled
- kernel fix: if we know the file system is still mounted at device close time,
  don't try to shrink the dcache based on the sb


Index: pvfs2-client-core.c
===================================================================
RCS file: /projects/cvsroot/pvfs2/src/apps/kernel/linux/pvfs2-client-core.c,v
diff -p -u -r1.11 -r1.12
--- pvfs2-client-core.c	26 Jul 2004 21:32:41 -0000	1.11
+++ pvfs2-client-core.c	27 Jul 2004 17:08:51 -0000	1.12
@@ -49,7 +49,7 @@
 #define STATFS_DEFAULT_BLOCKSIZE PVFS2_BUFMAP_DEFAULT_DESC_SIZE
 
 /* client side attribute cache timeout; 0 is effectively disabled */
-#define ACACHE_TIMEOUT_MS 10000
+#define ACACHE_TIMEOUT_MS 0
 
 /*
   default timeout value to wait for completion of in progress



More information about the PVFS2-CVS mailing list