Whamcloud - gitweb
Branch HEAD
authorvitaly <vitaly>
Thu, 9 Apr 2009 16:15:57 +0000 (16:15 +0000)
committervitaly <vitaly>
Thu, 9 Apr 2009 16:15:57 +0000 (16:15 +0000)
b=17926
i=rread
i=shadow

limit the default journal size with 400MB

lustre/utils/mkfs_lustre.c

index 83d9a11..95dce17 100644 (file)
@@ -592,7 +592,7 @@ int make_lustre_backfs(struct mkfs_opts *mop)
                         if (journal_sz > 1024L)
                                 journal_sz = 1024L;
                         /* man mkfs.ext3 */
-                        max_sz = (256000 * L_BLOCK_SIZE) >> 20; /* 1GB */
+                        max_sz = (102400 * L_BLOCK_SIZE) >> 20; /* 400MB */
                         if (journal_sz > max_sz)
                                 journal_sz = max_sz;
                         if (journal_sz) {