lkml.org 
[lkml]   [2013]   [Dec]   [26]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 1/4] block: blk-mq: support draining mq queue
On Thu, Dec 26, 2013 at 06:12:30PM +0800, Ming Lei wrote:
> IMO, if one block API can serve for both non-MQ and MQ cases, why do
> we have to split it into blk_foo() and blk_mq_foo()?

To make the usage obvious and to allow killing the old code more
easily. Looking back I have to see I'd actually prefer it the MQ
code simply used different data structures.

>
> IMO it is very possible that parallel path might keep for a while, and at least
> the current scsi-mq patches do so.

That might be okay for the current prototype, but there's not point in
merging it if it can't replace the old legacy request code. And yes,
this will require a lot more work.



\
 
 \ /
  Last update: 2013-12-26 12:21    [W:0.037 / U:1.204 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site