Skip to content
Snippets Groups Projects
Commit 846b540f authored by tianzy's avatar tianzy
Browse files

Branch b_release_1_6_7

when there is any inactive ost, refuse to do quotacheck
b=18298
i=johann
i=andrew.perepechko
parent 43ece302
No related branches found
No related tags found
No related merge requests found
......@@ -242,12 +242,14 @@ int lov_quota_check(struct obd_export *exp, struct obd_quotactl *oqctl)
ENTRY;
for (i = 0; i < lov->desc.ld_tgt_count; i++) {
int err;
if (!lov->lov_tgts[i] || !lov->lov_tgts[i]->ltd_active) {
CERROR("lov idx %d inactive\n", i);
RETURN(-EIO);
}
}
for (i = 0; i < lov->desc.ld_tgt_count; i++) {
int err;
err = obd_quotacheck(lov->lov_tgts[i]->ltd_exp, oqctl);
if (err && !rc)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment