From: Ben Gras Date: Fri, 20 May 2005 12:30:37 +0000 (+0000) Subject: Added note to indicate how touchy MAX_BLOCK_SIZE is at the moment. X-Git-Tag: v3.1.0~826 X-Git-Url: http://zhaoyanbai.com/repos/tz-link.htm?a=commitdiff_plain;h=e5a694b126e9b64feba2faf22a8eb29c5e44dd8f;p=minix.git Added note to indicate how touchy MAX_BLOCK_SIZE is at the moment. --- diff --git a/include/dirent.h b/include/dirent.h index 304eed8dc..fce36a13d 100755 --- a/include/dirent.h +++ b/include/dirent.h @@ -41,6 +41,12 @@ struct _v7_direct { * the superblock (at 1024 bytes) overlaps with other filesystem data. */ #define MIN_BLOCK_SIZE 1024 + +/* The below is allocated in some parts of the system as the largest + * a filesystem block can be. For instance, the boot monitor allocates + * 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 /* This is the block size for the fixed versions of the filesystem (V1/V2) */