From: Ben Gras Date: Fri, 12 Aug 2005 12:41:29 +0000 (+0000) Subject: Maximum block size lowered to 4K (gasp) ! X-Git-Tag: v3.1.0~349 X-Git-Url: http://zhaoyanbai.com/repos/doc/html/static/gitweb.css?a=commitdiff_plain;h=87b0780ef7d18b093c02261b90a97f94323edc65;p=minix.git Maximum block size lowered to 4K (gasp) ! --- diff --git a/include/dirent.h b/include/dirent.h index cd373f4ba..cc0576578 100755 --- a/include/dirent.h +++ b/include/dirent.h @@ -47,7 +47,7 @@ struct _v7_direct { * 3 of these blocks and has to fit within 64kB, so this can't be * increased without taking that into account. */ -#define MAX_BLOCK_SIZE 8192 +#define MAX_BLOCK_SIZE 4096 /* This is the block size for the fixed versions of the filesystem (V1/V2) */ #define STATIC_BLOCK_SIZE 1024 diff --git a/include/minix/config.h b/include/minix/config.h index eb566deb7..d9c3caf93 100755 --- a/include/minix/config.h +++ b/include/minix/config.h @@ -43,7 +43,7 @@ #endif #if (MACHINE == IBM_PC && _WORD_SIZE == 4) -#define NR_BUFS 1536 /* # blocks in the buffer cache */ +#define NR_BUFS 1500 /* # blocks in the buffer cache */ #define NR_BUF_HASH 2048 /* size of buf hash table; MUST BE POWER OF 2*/ #endif