lkml.org 
[lkml]   [2013]   [Oct]   [28]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subject[PATCH 0/2] Allow drivers to tap into tags initialization
Date
Patches based upon Axboe's blk-mq/core branch
git://git.kernel.dk/linux-block.git

These two patches enable a driver to control if tags are initialized by blk-mq
or itself. This allows a driver to map multiple struct blk_mq_tags to multiple
hardware and share tags.

This is for example used by the NVMe, that has a limited number of queues,
shared by multiple request queues.

v1->v2
* Changed blk_mq_init_tags_shared to blk_mq_tags_get.
* Moved from EXPORT_SYMBOL_GPL to EXPORT_SYMBOL
* Moved to using a flag for defining when driver handles tags initialization.

Matias Bjorling (2):
blk-mq: allow request queues to share tags map
blk-mq: add maps_tags fn and add usage

block/blk-mq-tag.c | 22 +++++++++++++++++++++-
block/blk-mq.c | 18 ++++++++++--------
include/linux/blk-mq.h | 6 ++++++
3 files changed, 37 insertions(+), 9 deletions(-)

--
1.8.3.2



\
 
 \ /
  Last update: 2013-10-28 11:21    [W:0.053 / U:7.764 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site