lkml.org 
[lkml]   [2014]   [Sep]   [24]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH v4 08/10] block: introduce 'blk_mq_ctx' parameter to blk_get_flush_queue
On Mon, Sep 15, 2014 at 09:11:12PM +0800, Ming Lei wrote:
> This patch adds 'blk_mq_ctx' parameter to blk_get_flush_queue(),
> so that this function can find the corresponding blk_flush_queue
> bound with current mq context since the flush queue will become
> per hw-queue.
>
> For legacy queue, the parameter can be simply 'NULL'.
>
> For multiqueue case, the parameter should be set as the context
> from which the related request is originated. With this context
> info, the hw queue and related flush queue can be found easily.

I think this should be merged into the patch introducing
blk_get_flush_queue.


\
 
 \ /
  Last update: 2014-09-24 13:01    [W:0.200 / U:0.132 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site