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:
1e52179
)
Branch HEAD
author
tianzy
<tianzy>
Fri, 23 Jan 2009 09:50:30 +0000
(09:50 +0000)
committer
tianzy
<tianzy>
Fri, 23 Jan 2009 09:50:30 +0000
(09:50 +0000)
when there is any inactive ost, refuse to do quotacheck
b=18151
i=johann
i=andrew.perepechko
lustre/quota/quota_check.c
patch
|
blob
|
history
diff --git
a/lustre/quota/quota_check.c
b/lustre/quota/quota_check.c
index
25344e3
..
c2238e2
100644
(file)
--- a/
lustre/quota/quota_check.c
+++ b/
lustre/quota/quota_check.c
@@
-279,12
+279,14
@@
int lov_quota_check(struct obd_device *unused, struct obd_export *exp,
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)