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:
c70ba49
)
Branch HEAD
author
adilger
<adilger>
Mon, 26 May 2008 20:06:39 +0000
(20:06 +0000)
committer
adilger
<adilger>
Mon, 26 May 2008 20:06:39 +0000
(20:06 +0000)
Add clarifying comment.
lustre/lov/lov_pack.c
patch
|
blob
|
history
diff --git
a/lustre/lov/lov_pack.c
b/lustre/lov/lov_pack.c
index
5f14160
..
0f0ff06
100644
(file)
--- a/
lustre/lov/lov_pack.c
+++ b/
lustre/lov/lov_pack.c
@@
-108,6
+108,8
@@
int lov_packmd(struct obd_export *exp, struct lov_mds_md **lmmp,
lsm->lsm_magic, LOV_MAGIC);
RETURN(-EINVAL);
}
+ /* If we are just sizing the EA, limit the stripe count
+ * to the actual number of OSTs in this filesystem. */
if (!lmmp) {
stripe_count = lov_get_stripecnt(lov, lsm->lsm_stripe_count);
lsm->lsm_stripe_count = stripe_count;