X-Git-Url: https://git.whamcloud.com/?p=fs%2Flustre-release.git;a=blobdiff_plain;f=lustre%2Fquota%2Fqsd_handler.c;h=2119271bf0f7d73896ca3372018a41ba24695c34;hp=3fff49a0a8cfdaa6f4f20a88d9dd054af23413c8;hb=5c883ea2748ae9e430a9cd863a9b630b2a74440a;hpb=f2d06d3c76a1d69447e7bd6fd29d8165be558d73 diff --git a/lustre/quota/qsd_handler.c b/lustre/quota/qsd_handler.c index 3fff49a..2119271 100644 --- a/lustre/quota/qsd_handler.c +++ b/lustre/quota/qsd_handler.c @@ -654,10 +654,8 @@ static bool qsd_acquire(const struct lu_env *env, struct lquota_entry *lqe, /* if we have gotten some quota and stil wait more quota, * it's better to give QMT some time to reclaim from clients */ - if (count > 0) { - set_current_state(TASK_INTERRUPTIBLE); - schedule_timeout(cfs_time_seconds(1)); - } + if (count > 0) + schedule_timeout_interruptible(cfs_time_seconds(1)); /* need to acquire more quota space from master */ rc = qsd_acquire_remote(env, lqe);