Whamcloud - gitweb
git://git.whamcloud.com
/
fs
/
lustre-release.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d376790
)
Branch HEAD
author
vitaly
<vitaly>
Thu, 9 Apr 2009 16:15:57 +0000
(16:15 +0000)
committer
vitaly
<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
patch
|
blob
|
history
diff --git
a/lustre/utils/mkfs_lustre.c
b/lustre/utils/mkfs_lustre.c
index
83d9a11
..
95dce17
100644
(file)
--- a/
lustre/utils/mkfs_lustre.c
+++ b/
lustre/utils/mkfs_lustre.c
@@
-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; /* 1G
B */
+ max_sz = (
102400 * L_BLOCK_SIZE) >> 20; /* 400M
B */
if (journal_sz > max_sz)
journal_sz = max_sz;
if (journal_sz) {