From: Erik van der Kouwe Date: Thu, 5 Aug 2010 11:37:37 +0000 (+0000) Subject: Increase NR_INODES in the FS servers to match NR_VNODES in VFS X-Git-Tag: v3.1.8~102 X-Git-Url: http://zhaoyanbai.com/repos/%22http:/www.isc.org/icons/verify-sign/verify.pl?a=commitdiff_plain;h=0fc71a11541b8ace4254b39d4db2b2e3f427640f;p=minix.git Increase NR_INODES in the FS servers to match NR_VNODES in VFS --- 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 */