Shrink file_max_cache_size to alleviate the memory pressure of OST.
Change-Id: I6dc26ea88f8fc28bcbc94cf7d1e6f2bdfc866ea7
signed-off-by: Wang Di <di.wang@whamcloud.com>
Reviewed-on: http://review.whamcloud.com/445
Tested-by: Hudson
Reviewed-by: Johann Lombardi <johann@whamcloud.com>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
};
//#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 OBD_OBJECT_EOF
+#define FILTER_MAX_CACHE_SIZE (8 * 1024 * 1024) /* was 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... */