Re: [RFC] blk-mq: clean up the hctx restart

From: Bart Van Assche
Date: Thu Aug 02 2018 - 13:24:20 EST

On Fri, 2018-08-03 at 01:17 +-0800, Ming Lei wrote:
+AD4- Not mentioning big CPU utilization is consumed unnecessarily for iterating
+AD4- over all queues even though there is only one active queue, is this fair from
+AD4- system view?

I hope that someone will come up some day with a better solution than the
list+AF8-for+AF8-each+AF8-entry+AF8-rcu+AF8-rr() loop. But as long as such a solution has not yet
been found that loop should stay in order to preserve fair handling of large
numbers of LUNs.