Shrink file_max_cache_size to alleviate the memory pressure of OST.
Change-Id: I34c920cce65cd91f4793383b6563d7a296ec5307
Signed-off-by: wangdi <di.wang@whamcloud.com>
Reviewed-on: http://review.whamcloud.com/523
Tested-by: Hudson
Reviewed-by: Oleg Drokin <green@whamcloud.com>
LPROC_FILTER_LAST,
};
-//#define FILTER_MAX_CACHE_SIZE (32 * 1024 * 1024) /* was OBD_OBJECT_EOF */
-#define FILTER_MAX_CACHE_SIZE OBD_OBJECT_EOF
+#define FILTER_MAX_CACHE_SIZE (8 * 1024 * 1024)
/* 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... */