b=18554
Reverting change. A different, seemingly unrelated bug is ocurring
since landing this, and removing this for further review.
}
lov->lov_tgts[index]->ltd_reap = 0;
}
lov->lov_tgts[index]->ltd_reap = 0;
+ if (activate) {
+ lov->lov_tgts[index]->ltd_active = 1;
+ lov->desc.ld_active_tgt_count++;
+ lov->lov_tgts[index]->ltd_exp->exp_obd->obd_inactive = 0;
+ }
CDEBUG(D_CONFIG, "Connected tgt idx %d %s (%s) %sactive\n", index,
obd_uuid2str(&tgt_uuid), tgt_obd->obd_name, activate ? "":"in");
CDEBUG(D_CONFIG, "Connected tgt idx %d %s (%s) %sactive\n", index,
obd_uuid2str(&tgt_uuid), tgt_obd->obd_name, activate ? "":"in");
}
run_test 73c "open(O_CREAT), unlink, replay, reconnect at last_replay, close"
}
run_test 73c "open(O_CREAT), unlink, replay, reconnect at last_replay, close"
-# bug 18554
-test_74() {
- stop ost1
- zconf_umount $(hostname) $MOUNT
- fail $SINGLEMDS
- zconf_mount $(hostname) $MOUNT
- mount_facet ost1
- touch $DIR/$tfile || return 1
- rm $DIR/$tfile || return 2
- return 0
-}
-run_test 74 "Ensure applications don't fail waiting for OST reocvery"
-
test_80a() {
[ $MDSCOUNT -lt 2 ] && skip "needs >= 2 MDTs" && return 0
test_80a() {
[ $MDSCOUNT -lt 2 ] && skip "needs >= 2 MDTs" && return 0