[JFFS2] Speed up mounts by inreasing INO_CACHE_HASHSIZE to 1024
David Woodhouse
dwmw2 at infradead.unroutableorg
Wed Nov 8 08:52:06 EST 2006
Commit: bc6d8fc88835c4aeea2385d5a8d3f734c5144404
Parent: 667c7b2f30179f51f29d92c75b40af08fcf04e0b
commit bc6d8fc88835c4aeea2385d5a8d3f734c5144404
Author: David Woodhouse <dwmw2 at infradead.org>
AuthorDate: Wed Nov 8 21:56:20 2006 +0800
Commit: David Woodhouse <dwmw2 at infradead.org>
CommitDate: Wed Nov 8 21:56:20 2006 +0800
[JFFS2] Speed up mounts by inreasing INO_CACHE_HASHSIZE to 1024
Signed-off-by: David Woodhouse <dwmw2 at infradead.org>
---
fs/jffs2/nodelist.h | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/fs/jffs2/nodelist.h b/fs/jffs2/nodelist.h
index 4178b4b..d0f31e3 100644
--- a/fs/jffs2/nodelist.h
+++ b/fs/jffs2/nodelist.h
@@ -185,7 +185,7 @@ #define RAWNODE_CLASS_INODE_CACHE 0
#define RAWNODE_CLASS_XATTR_DATUM 1
#define RAWNODE_CLASS_XATTR_REF 2
-#define INOCACHE_HASHSIZE 128
+#define INOCACHE_HASHSIZE 1024
#define write_ofs(c) ((c)->nextblock->offset + (c)->sector_size - (c)->nextblock->free_size)
More information about the Commits-kernel
mailing list