xen-blkfront: move negotiate_mq to cover all cases of new VBDs
authorBhavesh Davda <bhavesh.davda@oracle.com>
Fri, 22 Dec 2017 22:17:13 +0000 (14:17 -0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 30 May 2018 05:52:13 +0000 (07:52 +0200)
commit9238d1fa3ee60e26909b5ca38e4fbfcd1dbc2201
tree2ef366ab972b2f96d535d7d13aa309f9a9d65bca
parentb2709f78674177e9e8670132eaa73977cf61582a
xen-blkfront: move negotiate_mq to cover all cases of new VBDs

[ Upstream commit 7ed8ce1c5fc7cf25b3602c73bef897a3466a6645 ]

negotiate_mq should happen in all cases of a new VBD being discovered by
xen-blkfront, whether called through _probe() or a hot-attached new VBD
from dom-0 via xenstore. Otherwise, hot-attached new VBDs are left
configured without multi-queue.

Signed-off-by: Bhavesh Davda <bhavesh.davda@oracle.com>
Reviewed-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Signed-off-by: Sasha Levin <alexander.levin@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/block/xen-blkfront.c