Switch the base file system from direct-indexed inodes to extents.
[pintos-anon] / grading / vm / page-merge-seq.c
index f7ac14c09a0812989e77b809a3b2af49ee3d4e2c..203ca9cd25ac42b6ad34da57c3983eaf3c851365 100644 (file)
@@ -7,7 +7,10 @@
 #endif
 #include "../lib/arc4.h"
 
-#define CHUNK_SIZE (63 * 1024)                  /* Max file size. */
+/* This is the max file size for an older version of the Pintos
+   file system that had 126 direct blocks each pointing to a
+   single disk sector.  We could raise it now. */
+#define CHUNK_SIZE (126 * 512)
 #define CHUNK_CNT 16                            /* Number of chunks. */
 #define DATA_SIZE (CHUNK_CNT * CHUNK_SIZE)      /* Buffer size. */