From 02e934c0aeedf44c3213829e593f10ccaf4e6bba Mon Sep 17 00:00:00 2001 From: Raghavendra G Date: Wed, 7 Oct 2009 03:42:45 +0000 Subject: performance/stat-prefetch: change the cache to use rbtree based hashtable instead of list for caching dentries. Signed-off-by: Anand V. Avati BUG: 284 (performance actually decreases for 'ls -l' on a directory containing large number of files with stat-prefetch loaded) URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=284 --- xlators/performance/stat-prefetch/src/Makefile.am | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'xlators/performance/stat-prefetch/src/Makefile.am') diff --git a/xlators/performance/stat-prefetch/src/Makefile.am b/xlators/performance/stat-prefetch/src/Makefile.am index b16c133a1..3aec50859 100644 --- a/xlators/performance/stat-prefetch/src/Makefile.am +++ b/xlators/performance/stat-prefetch/src/Makefile.am @@ -8,7 +8,7 @@ noinst_HEADERS = stat-prefetch.h stat_prefetch_la_LIBADD = $(top_builddir)/libglusterfs/src/libglusterfs.la AM_CFLAGS = -fPIC -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -Wall -D$(GF_HOST_OS)\ - -I$(top_srcdir)/libglusterfs/src -shared -nostartfiles $(GF_CFLAGS) + -I$(top_srcdir)/libglusterfs/src -I$(top_srcdir)/contrib/rbtree/ -nostartfiles $(GF_CFLAGS) CLEANFILES = -- cgit