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:
dd6bb75
)
- make 16K bytes/inode ratio only for really big devices > 100Gb. This is
author
tappro
<tappro>
Sat, 4 Nov 2006 15:30:35 +0000
(15:30 +0000)
committer
tappro
<tappro>
Sat, 4 Nov 2006 15:30:35 +0000
(15:30 +0000)
workaround against -ENOSPC on OST due to lack of inodes
lustre/utils/mkfs_lustre.c
patch
|
blob
|
history
diff --git
a/lustre/utils/mkfs_lustre.c
b/lustre/utils/mkfs_lustre.c
index
3929474
..
3a5c0fe
100644
(file)
--- a/
lustre/utils/mkfs_lustre.c
+++ b/
lustre/utils/mkfs_lustre.c
@@
-471,7
+471,8
@@
int make_lustre_backfs(struct mkfs_opts *mop)
/* Allocate fewer inodes on large OST devices. Most
filesystems can be much more aggressive than even
this. */
- if ((IS_OST(&mop->mo_ldd) && (device_sz > 1000000)))
+ if ((IS_OST(&mop->mo_ldd) &&
+ (device_sz > 100000000))) /* 100 Gb */
bytes_per_inode = 16384;
if (bytes_per_inode > 0) {