X-Git-Url: https://git.whamcloud.com/?p=fs%2Flustre-release.git;a=blobdiff_plain;f=lustre%2Fquota%2Fqsd_handler.c;h=d40251db2cc5edc42104035be16423bea70c04b2;hp=ae770f59d3791645bf2b43fca2f65b4e7fdd0b92;hb=1f4e9f0f4f483dc93cbecdc841740bc11ec59a73;hpb=18cd3e1e28afd311e4743dab1011f85fba0e1765 diff --git a/lustre/quota/qsd_handler.c b/lustre/quota/qsd_handler.c index ae770f5..d40251d 100644 --- a/lustre/quota/qsd_handler.c +++ b/lustre/quota/qsd_handler.c @@ -65,7 +65,7 @@ static inline void qsd_request_exit(struct lquota_entry *lqe) } lqe->lqe_pending_req--; lqe->lqe_pending_rel = 0; - wake_up_all(&lqe->lqe_waiters); + wake_up(&lqe->lqe_waiters); } /** @@ -662,7 +662,7 @@ again: */ if (lqe->lqe_pending_write >= space && !wait_pending) { wait_pending = 1; - dt_wait_quota_pending(qqi->qqi_qsd->qsd_dev); + dt_sync(env, qqi->qqi_qsd->qsd_dev); goto again; }