From 0fc71a11541b8ace4254b39d4db2b2e3f427640f Mon Sep 17 00:00:00 2001 From: Erik van der Kouwe Date: Thu, 5 Aug 2010 11:37:37 +0000 Subject: [PATCH] Increase NR_INODES in the FS servers to match NR_VNODES in VFS --- servers/ext2/const.h | 5 ++++- servers/mfs/const.h | 5 ++++- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/servers/ext2/const.h b/servers/ext2/const.h index a939716f0..6a511cafd 100644 --- a/servers/ext2/const.h +++ b/servers/ext2/const.h @@ -3,7 +3,10 @@ /* Tables sizes */ -#define NR_INODES 256 /* # slots in "in core" inode table */ +#define NR_INODES 512 /* # slots in "in core" inode table; + * should be more or less the same as + * NR_VNODES in vfs + */ #define GETDENTS_BUFSIZ 257 #define INODE_HASH_LOG2 7 /* 2 based logarithm of the inode hash size */ diff --git a/servers/mfs/const.h b/servers/mfs/const.h index 4ec9a5efa..8d88fbf1a 100644 --- a/servers/mfs/const.h +++ b/servers/mfs/const.h @@ -7,7 +7,10 @@ #define V2_NR_DZONES 7 /* # direct zone numbers in a V2 inode */ #define V2_NR_TZONES 10 /* total # zone numbers in a V2 inode */ -#define NR_INODES 256 /* # slots in "in core" inode table */ +#define NR_INODES 512 /* # slots in "in core" inode table, + * should be more or less the same as + * NR_VNODES in vfs + */ #define GETDENTS_BUFSIZ 257 #define INODE_HASH_LOG2 7 /* 2 based logarithm of the inode hash size */ -- 2.44.0