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
b=15134
[fs/lustre-release.git]
/
lustre
/
quota
/
quota_interface.c
diff --git
a/lustre/quota/quota_interface.c
b/lustre/quota/quota_interface.c
index
71bed54
..
2ef1b67
100644
(file)
--- a/
lustre/quota/quota_interface.c
+++ b/
lustre/quota/quota_interface.c
@@
-137,6
+137,7
@@
static int filter_quota_clearinfo(struct obd_export *exp, struct obd_device *obd
spin_lock(&qctxt->lqc_lock);
qctxt->lqc_import = NULL;
spin_unlock(&qctxt->lqc_lock);
spin_lock(&qctxt->lqc_lock);
qctxt->lqc_import = NULL;
spin_unlock(&qctxt->lqc_lock);
+ dqacq_interrupt(qctxt);
CDEBUG(D_QUOTA, "%s: lqc_import of obd(%p) is invalid now.\n",
obd->obd_name, obd);
}
CDEBUG(D_QUOTA, "%s: lqc_import of obd(%p) is invalid now.\n",
obd->obd_name, obd);
}
@@
-380,7
+381,7
@@
static int quota_chk_acq_common(struct obd_device *obd, unsigned int uid,
/* please reference to dqacq_completion for the below */
/* a new request is finished, try again */
/* please reference to dqacq_completion for the below */
/* a new request is finished, try again */
- if (rc ==
-EAGAIN
) {
+ if (rc ==
QUOTA_REQ_RETURNED
) {
CDEBUG(D_QUOTA, "finish a quota req, try again\n");
continue;
}
CDEBUG(D_QUOTA, "finish a quota req, try again\n");
continue;
}