Message ID | 4A972F19.4090408@cn.fujitsu.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
diff --git a/block/elevator-fq.c b/block/elevator-fq.c index a4161c2..04f646f 100644 --- a/block/elevator-fq.c +++ b/block/elevator-fq.c @@ -3116,7 +3116,8 @@ void elv_ioq_completed_request(struct request_queue *q, struct request *rq) * group_idle period for a request before queue * expires. */ - if (elv_iog_should_idle(ioq)) { + if (elv_iog_should_idle(ioq) && + !elv_iog_wait_busy(iog)) { elv_iog_arm_slice_timer(q, iog, 1); goto done; }