Increase NR_INODES in the FS servers to match NR_VNODES in VFS
This commit is contained in:
parent
912b4e0cb7
commit
0fc71a1154
2 changed files with 8 additions and 2 deletions
|
@ -3,7 +3,10 @@
|
||||||
|
|
||||||
/* Tables sizes */
|
/* 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 GETDENTS_BUFSIZ 257
|
||||||
|
|
||||||
#define INODE_HASH_LOG2 7 /* 2 based logarithm of the inode hash size */
|
#define INODE_HASH_LOG2 7 /* 2 based logarithm of the inode hash size */
|
||||||
|
|
|
@ -7,7 +7,10 @@
|
||||||
#define V2_NR_DZONES 7 /* # direct zone numbers in a V2 inode */
|
#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 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 GETDENTS_BUFSIZ 257
|
||||||
|
|
||||||
#define INODE_HASH_LOG2 7 /* 2 based logarithm of the inode hash size */
|
#define INODE_HASH_LOG2 7 /* 2 based logarithm of the inode hash size */
|
||||||
|
|
Loading…
Reference in a new issue