blob: 509293f9bdbdb480abebee408b1994aa9f985583 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
From 62f67e2346bd79ac2f439a3bf9c2ddbbe033464c Mon Sep 17 00:00:00 2001
From: Justus Winter <4winter@informatik.uni-hamburg.de>
Date: Sat, 6 Jun 2015 12:28:26 +0200
Subject: [PATCH hurd] xxx huge nodecache
---
libdiskfs/node-cache.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libdiskfs/node-cache.c b/libdiskfs/node-cache.c
index a76474a..6dafdb6 100644
--- a/libdiskfs/node-cache.c
+++ b/libdiskfs/node-cache.c
@@ -19,7 +19,7 @@
#include "priv.h"
-#define INOHSZ 8192
+#define INOHSZ (8192*16)
#if ((INOHSZ&(INOHSZ-1)) == 0)
#define INOHASH(ino) ((ino)&(INOHSZ-1))
#else
--
2.1.4
|