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

Christoph Hellwig hch at lst.de
Fri Jan 27 16:36:04 UTC 2017


On Fri, Jan 27, 2017 at 11:34:34AM -0500, Mike Snitzer wrote:
> 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.




More information about the dm-devel mailing list