Whamcloud - gitweb
Revert "LU-15 shrink the cache to alleviate OST memory pressure"
authorOleg Drokin <green@whamcloud.com>
Mon, 27 Jun 2011 22:22:52 +0000 (18:22 -0400)
committerOleg Drokin <green@whamcloud.com>
Mon, 27 Jun 2011 22:24:48 +0000 (18:24 -0400)
This introduced a significant performance problem on DDN hardware,
so reverting.

This reverts commit 491a448008d8f8a4dc61789c14bd96de205f856e.

Change-Id: Id19d9735ddc5daa852e4a388974f9a8f11208d05
Signed-off-by: Oleg Drokin <green@whamcloud.com>
lustre/obdfilter/filter_internal.h

index d8cf3f9..7c73619 100644 (file)
@@ -113,7 +113,8 @@ enum {
         LPROC_FILTER_LAST,
 };
 
-#define FILTER_MAX_CACHE_SIZE (8 * 1024 * 1024)
+//#define FILTER_MAX_CACHE_SIZE (32 * 1024 * 1024) /* was OBD_OBJECT_EOF */
+#define FILTER_MAX_CACHE_SIZE OBD_OBJECT_EOF
 
 /* We have to pass a 'created' array to fsfilt_map_inode_pages() which we
  * then ignore.  So we pre-allocate one that everyone can use... */