ext2: annotate cache blocks with inode metadata

. allows mmap() to work on it

Change-Id: I33af8b86ebb408d971478d00ed2caacf15afc7a5
This commit is contained in:
Ben Gras
2013-04-25 12:03:40 +00:00
parent f0cc010614
commit f497d9b9c4
8 changed files with 107 additions and 51 deletions

View File

@@ -82,9 +82,17 @@ static void usage(void) __dead;
* L_DFL_*.
*/
#define SMALL_FSSIZE ((4 * 1024 * 1024) / sectorsize) /* 4MB */
#ifdef __minix
#define S_DFL_BSIZE 4096
#else
#define S_DFL_BSIZE 1024
#endif
#define MEDIUM_FSSIZE ((512 * 1024 * 1024) / sectorsize) /* 512MB */
#ifdef __minix
#define M_DFL_BSIZE 4096
#else
#define M_DFL_BSIZE 1024
#endif
#define L_DFL_BSIZE 4096
/*