Thread (7 messages) 7 messages, 3 authors, 2012-06-07

Re: [PATCH 1/2] block: Move general unplug callback function from md/raid to blk-core

From: Shaohua Li <shli@kernel.org>
Date: 2012-06-06 02:07:12
Also in: lkml

2012/6/5  [off-list ref]:
If you ever tried to implement unplug function in umem, you would find the code was almost identical as in dm/raid driver.
For other components which also need such unplug mechanism, it will much more convenient to have such facilities.
It's just several lines of code and your usage actually doesn't need
the counter.
It's unclear to me your usage requires to move the callback to list head.
PS: What's your specific concern about blk_plug_cb handles each request_queue?
the blk_plug_cb stores request_queue, which is incorrect to me. Why can't
one plug cb unplug two or more request_queues?
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help