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

From: Matias Bjorling
Date: Fri Dec 20 2013 - 18:11:16 EST


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], ...

Matias BjÃrling (3):
null_blk: corrections to documentation
null_blk: set use_per_node_hctx param to false
null_blk: support submit_queues on use_per_node_hctx

Documentation/block/null_blk.txt | 27 +++++++++++++------------
drivers/block/null_blk.c | 43 ++++++++++++++++++++++++++++++++++------
2 files changed, 51 insertions(+), 19 deletions(-)

--
1.8.3.2

--
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/