Re: [PATCH 0/3] null_blk: documentation, defaults and mapping

From: Jens Axboe
Date: Sat Dec 21 2013 - 11:30:08 EST


On Sat, Dec 21 2013, Matias Bjorling wrote:
> Hi,
>
> These three patches cover:
>
> * Incorporated the feedback from Randy Dunlap into documentation.
> Can be merged with the previous documentation commit (6824518).
> * Set use_per_node_hctx to false per default to save resources.
> * Allow submit_queues and use_per_node_hctx to be used simultanesly.
> If the submit_queues is a multiple of nr_online_nodes, its trivial. Simply map
> them to the nodes. For example: 8 submit queues are mapped as node0[0,1],
> node1[2,3], ...
> If uneven, we are left with an uneven number of submit_queues that must be
> mapped. These are mapped toward the first node and onward. E.g. 5
> submit queues mapped onto 4 nodes are mapped as node0[0,1], node1[2], ...

Thanks, applied.

--
Jens Axboe

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/