aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/staging/vt6655/device_main.c
diff options
context:
space:
mode:
authorBob Liu <bob.liu@oracle.com>2016-05-31 16:59:17 +0800
committerKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>2016-06-08 13:54:46 -0400
commit2a6f71ad99cabe436e70c3f5fcf58072cb3bc07f (patch)
treecbdd63728027fc17b86025cc6a11353c88ab7819 /drivers/staging/vt6655/device_main.c
parentxen-blkfront: don't call talk_to_blkback when already connected to blkback (diff)
downloadlinux-dev-2a6f71ad99cabe436e70c3f5fcf58072cb3bc07f.tar.xz
linux-dev-2a6f71ad99cabe436e70c3f5fcf58072cb3bc07f.zip
xen-blkfront: fix resume issues after a migration
After a migrate to another host (which may not have multiqueue support), the number of rings (block hardware queues) may be changed and the ring info structure will also be reallocated. This patch fixes two related bugs: * call blk_mq_update_nr_hw_queues() to make blk-core know the number of hardware queues have been changed. * Don't store rinfo pointer to hctx->driver_data, because rinfo may be reallocated so use hctx->queue_num to get the rinfo structure instead. Signed-off-by: Bob Liu <bob.liu@oracle.com> Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Diffstat (limited to 'drivers/staging/vt6655/device_main.c')
0 files changed, 0 insertions, 0 deletions