On Thu, Jan 12, 2017 at 02:54:38PM -0700, Jens Axboe wrote:
> On Thu, Jan 12 2017, Bart Van Assche wrote:
> > On Wed, 2017-01-11 at 14:40 -0700, Jens Axboe wrote:
> > > @@ -2392,12 +2425,12 @@ int blk_mq_alloc_tag_set(struct blk_mq_tag_set
> > > *set)
> > > if (set->nr_hw_queues > nr_cpu_ids)
>
On Thu, Jan 12 2017, Bart Van Assche wrote:
> On Wed, 2017-01-11 at 14:40 -0700, Jens Axboe wrote:
> > @@ -2392,12 +2425,12 @@ int blk_mq_alloc_tag_set(struct blk_mq_tag_set *set)
> > if (set->nr_hw_queues > nr_cpu_ids)
> > set->nr_hw_queues = nr_cpu_ids;
> >
> > + ret = -ENOMEM
On Wed, 2017-01-11 at 14:40 -0700, Jens Axboe wrote:
> @@ -2392,12 +2425,12 @@ int blk_mq_alloc_tag_set(struct blk_mq_tag_set *set)
> if (set->nr_hw_queues > nr_cpu_ids)
> set->nr_hw_queues = nr_cpu_ids;
>
> + ret = -ENOMEM;
> set->tags = kzalloc_node(nr_cpu_ids * si
Prep patch for adding an extra tag map for scheduler requests.
Signed-off-by: Jens Axboe
---
block/blk-mq.c | 119 -
block/blk-mq.h | 14 ---
2 files changed, 84 insertions(+), 49 deletions(-)
diff --git a/block/blk-mq.c b/block/blk-m