Re: [PATCH 07/18] dm: always defer request allocation to the owner of the request_queue

From
Mike Snitzer <hidden>
Date
2017-01-27 16:44:53
Also in
dm-devel, linux-raid, linux-scsi
Reply to
Christoph Hellwig, 2017-01-27
On Fri, Jan 27 2017 at 11:36am -0500,
Christoph Hellwig [off-list ref] wrote:
On Fri, Jan 27, 2017 at 11:34:34AM -0500, Mike Snitzer wrote:
quoted
Noticed after further review that it seems a bit weird to have the non
blk-mq support in drivers calling blk_mq_rq_to_pdu().  But I'm not sure
a blk_rq_to_pdu() macro to blk_mq_rq_to_pdu() is the right thing.  What
do you guys think?
My first version had an additional name for it, but it caused more
confusion than help.
And renaming blk_mq_rq_to_pdu() to blk_rq_to_pdu() tree-wide would be
too much churn?

I can live with blk_mq_rq_to_pdu(); just figured I'd ask.
Thread (97 messages) 97 messages, 6 authors, last reply 2017-02-03
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help