libnfs.c: Change the directory cache to a smaller more reasonable value
authorRonnie Sahlberg <ronniesahlberg@gmail.com>
Sun, 29 Jun 2014 21:42:28 +0000 (14:42 -0700)
committerRonnie Sahlberg <ronniesahlberg@gmail.com>
Sun, 29 Jun 2014 21:42:28 +0000 (14:42 -0700)
Signed-off-by: Ronnie Sahlberg <ronniesahlberg@gmail.com>
lib/libnfs.c

index 41b8a2b35f01ea0b9a15cd0a575b7009476fa09d..94f03cb520455600f5d27c93301e8fecc1122dfb 100644 (file)
@@ -77,7 +77,7 @@
 #include "libnfs-raw-portmap.h"
 #include "libnfs-private.h"
 
-#define MAX_DIR_CACHE 1024
+#define MAX_DIR_CACHE 128
 
 struct nfsdir {
        struct nfs_fh3 fh;