Added note to indicate how touchy MAX_BLOCK_SIZE is at the moment.

This commit is contained in:
Ben Gras 2005-05-20 12:30:37 +00:00
parent f8bd2691ec
commit e5a694b126

View file

@ -41,6 +41,12 @@ struct _v7_direct {
* the superblock (at 1024 bytes) overlaps with other filesystem data. * the superblock (at 1024 bytes) overlaps with other filesystem data.
*/ */
#define MIN_BLOCK_SIZE 1024 #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 #define MAX_BLOCK_SIZE 8192
/* This is the block size for the fixed versions of the filesystem (V1/V2) */ /* This is the block size for the fixed versions of the filesystem (V1/V2) */