summaryrefslogtreecommitdiff
path: root/debian/patches
diff options
context:
space:
mode:
Diffstat (limited to 'debian/patches')
-rw-r--r--debian/patches/huge-nodecache0001-xxx-huge-nodecache.patch25
-rw-r--r--debian/patches/series1
2 files changed, 26 insertions, 0 deletions
diff --git a/debian/patches/huge-nodecache0001-xxx-huge-nodecache.patch b/debian/patches/huge-nodecache0001-xxx-huge-nodecache.patch
new file mode 100644
index 00000000..fca05bea
--- /dev/null
+++ b/debian/patches/huge-nodecache0001-xxx-huge-nodecache.patch
@@ -0,0 +1,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*8)
+ #if ((INOHSZ&(INOHSZ-1)) == 0)
+ #define INOHASH(ino) ((ino)&(INOHSZ-1))
+ #else
+--
+2.1.4
+
diff --git a/debian/patches/series b/debian/patches/series
index ddf7fa73..8290f136 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -67,3 +67,4 @@ exec_filename_exec.patch
exec_filename_fs.patch
exec_filename_use.patch
exec_filename_fix.patch
+huge-nodecache0001-xxx-huge-nodecache.patch