Whamcloud - gitweb
git://git.whamcloud.com
/
fs
/
lustre-release.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
LU-2361 quota: allow upgraded fs to start w/o spc accounting
[fs/lustre-release.git]
/
lustre
/
quota
/
qsd_writeback.c
diff --git
a/lustre/quota/qsd_writeback.c
b/lustre/quota/qsd_writeback.c
index
3d7bc2a
..
871a14e
100644
(file)
--- a/
lustre/quota/qsd_writeback.c
+++ b/
lustre/quota/qsd_writeback.c
@@
-373,6
+373,13
@@
static bool qsd_job_pending(struct qsd_instance *qsd, cfs_list_t *upd,
job_pending = true;
}
job_pending = true;
}
+ if (qsd->qsd_acct_failed) {
+ /* don't bother kicking off reintegration if space accounting
+ * failed to be enabled */
+ write_unlock(&qsd->qsd_lock);
+ return job_pending;
+ }
+
for (qtype = USRQUOTA; qtype < MAXQUOTAS; qtype++) {
struct qsd_qtype_info *qqi = qsd->qsd_type_array[qtype];
for (qtype = USRQUOTA; qtype < MAXQUOTAS; qtype++) {
struct qsd_qtype_info *qqi = qsd->qsd_type_array[qtype];