Re: [PATCH 6/7] blk-mq: Rerun hardware queues after having called .put_budget()

2017-11-30 Thread Ming Lei
On Thu, Nov 30, 2017 at 04:08:47PM -0800, Bart Van Assche wrote: > During request dispatch, after a scheduler or per-CPU queue has > been examined, .put_budget() is called if the examined queue is > empty. Since a new request may be queued concurrently with the > .put_budget() call, a request

[PATCH 6/7] blk-mq: Rerun hardware queues after having called .put_budget()

2017-11-30 Thread Bart Van Assche
During request dispatch, after a scheduler or per-CPU queue has been examined, .put_budget() is called if the examined queue is empty. Since a new request may be queued concurrently with the .put_budget() call, a request queue needs to be rerun after each .put_budget() call. Fixes: commit