]> Zhao Yanbai Git Server - minix.git/commitdiff
Added note to indicate how touchy MAX_BLOCK_SIZE is at the moment.
authorBen Gras <ben@minix3.org>
Fri, 20 May 2005 12:30:37 +0000 (12:30 +0000)
committerBen Gras <ben@minix3.org>
Fri, 20 May 2005 12:30:37 +0000 (12:30 +0000)
include/dirent.h

index 304eed8dc4a6df409d406aefff2279ebdf52f856..fce36a13dcbd3a48d1ace87c051ed15118f1da2d 100755 (executable)
@@ -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) */