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:
86c9ec0
)
Branch: b1_4
author
adilger
<adilger>
Wed, 23 Feb 2005 23:25:37 +0000
(23:25 +0000)
committer
adilger
<adilger>
Wed, 23 Feb 2005 23:25:37 +0000
(23:25 +0000)
Something I noticed when looking at the OST AMD patch. We should check
the "ost" index and not the "stripe" index.
lustre/lov/lov_obd.c
patch
|
blob
|
history
diff --git
a/lustre/lov/lov_obd.c
b/lustre/lov/lov_obd.c
index
dc6ce4f
..
70e9690
100644
(file)
--- a/
lustre/lov/lov_obd.c
+++ b/
lustre/lov/lov_obd.c
@@
-863,7
+863,7
@@
static int lov_brw_check(struct lov_obd *lov, struct obdo *oa,
CDEBUG(D_HA, "lov idx %d inactive\n", ost);
return -EIO;
}
- rc = obd_brw(OBD_BRW_CHECK, lov->tgts[
stripe
].ltd_exp, oa,
+ rc = obd_brw(OBD_BRW_CHECK, lov->tgts[
ost
].ltd_exp, oa,
NULL, 1, &pga[i], NULL);
if (rc)
break;