xen-blkfront: introduce blkif_set_queue_limits()
authorBob Liu <bob.liu@oracle.com>
Fri, 1 Jul 2016 21:43:39 +0000 (17:43 -0400)
committerKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Fri, 19 Aug 2016 16:31:59 +0000 (12:31 -0400)
commit172335ada40ce26806e514c83a504b45c14a4139
tree09172b74d288b3908c6cd3d41b65cc74aa35ae2f
parent6c647b0eb01cd7326dca093590f5e123e3c68b9c
xen-blkfront: introduce blkif_set_queue_limits()

blk_mq_update_nr_hw_queues() reset all queue limits to default which it's
not as xen-blkfront expected, introducing blkif_set_queue_limits() to reset
limits with initial correct values.

Signed-off-by: Bob Liu <bob.liu@oracle.com>
Acked-by: Roger Pau Monné <roger.pau@citrix.com>
Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
drivers/block/xen-blkfront.c