Thread (14 messages) 14 messages, 3 authors, 2018-08-03

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

From: Ming Lei <hidden>
Date: 2018-08-02 17:17:43
Also in: lkml

On Thu, Aug 02, 2018 at 05:08:55PM +0000, Bart Van Assche wrote:
On Fri, 2018-08-03 at 00:58 +0800, Ming Lei wrote:
quoted
And about the situations you mentioned, no any special as normal cases
or thousands of LUNs. Just a batch of queues are waken up from one
single wait queue(sbq_wait_state), and inside each wait queue, queues
are handled actually in FIFO order.

Or what is your expected ideal behaviour about fairness?
Hello Ming,

What I expect is if the number of LUNs is really large that all LUNs are treated
equally. Unless someone can set up a test that demonstrates that this is still
Some of idle LUNs shouldn't be treated equally as other LUNs which need
to serve.  

Also as I mentioned, the original RR style isn't better than the new
way actually, since now we handle queues in sort of FIFO style, thanks
wait queue.

Not mentioning big CPU utilization is consumed unnecessarily for iterating
over all queues even though there is only one active queue, is this fair from
system view?

Thanks,
Ming
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help