]> git.baikalelectronics.ru Git - kernel.git/commit
xen/blkfront: pseudo support for multi hardware queues/rings
authorBob Liu <bob.liu@oracle.com>
Sat, 14 Nov 2015 03:12:12 +0000 (11:12 +0800)
committerKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Mon, 4 Jan 2016 17:20:57 +0000 (12:20 -0500)
commitd5f951afb016160a33dcb34f57390337343bd900
tree0c1ef08f4f61c7e885afcfd4e2339ee224df4078
parent4c42e1c1a41db28c81738db8d74745bf24a19e34
xen/blkfront: pseudo support for multi hardware queues/rings

Preparatory patch for multiple hardware queues (rings). The number of
rings is unconditionally set to 1, larger number will be enabled in
patch "xen/blkfront: negotiate number of queues/rings to be used with backend"
so as to make review easier.

Note that blkfront_gather_backend_features does not call
blkfront_setup_indirect anymore (as that needs to be done per ring).
That means that in blkif_recover/blkif_connect we have to do it in a loop
(bounded by nr_rings).

Signed-off-by: Bob Liu <bob.liu@oracle.com>
Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
drivers/block/xen-blkfront.c