]> www.infradead.org Git - users/jedix/linux-maple.git/commit
xen-blkback: don't get ref for each queue
authorBob Liu <bob.liu@oracle.com>
Fri, 9 Sep 2016 19:44:08 +0000 (15:44 -0400)
committerChuck Anderson <chuck.anderson@oracle.com>
Wed, 14 Sep 2016 01:03:22 +0000 (18:03 -0700)
commit524a423eeca55aacdee4cca7d7f3614b9d7648bb
treedafe6c10cd8cfda3f5d7b82682079c8b911e5c28
parent2fd36bd959fc8b9d8fc0bbe7347a4e8f1f07e5ee
xen-blkback: don't get ref for each queue

xen_blkif_get() for each queue is useless, and introduce a bug.

If there is I/O inflight, xen_blkif_disconnect() will return busy and
xen_blkif_put() not be called.
Then even if I/O completed, the xen_blkif_put() can't free all resources.

Orabug: 24661443
Signed-off-by: Bob Liu <bob.liu@oracle.com>
drivers/block/xen-blkback/xenbus.c