Juergen Gross a24fa22ce2 xen/blkback: don't use xen_blkif_get() in xen-blkback kthread
There is no need to use xen_blkif_get()/xen_blkif_put() in the kthread
of xen-blkback. Thread stopping is synchronous and using the blkif
reference counting in the kthread will avoid to ever let the reference
count drop to zero at the end of an I/O running concurrent to
disconnecting and multiple rings.

Setting ring->xenblkd to NULL after stopping the kthread isn't needed
as the kthread does this already.

Signed-off-by: Juergen Gross <jgross@suse.com>
Tested-by: Steven Haigh <netwiz@crc.id.au>
Acked-by: Roger Pau Monné <roger.pau@citrix.com>
Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
2017-06-13 16:27:39 -04:00
..
2017-04-08 11:25:38 -06:00
2017-04-08 11:25:38 -06:00
2017-02-22 11:54:49 -07:00
2017-02-23 17:10:32 -05:00
2017-02-21 11:51:42 -08:00
2017-03-24 08:22:07 -06:00
2017-04-14 14:00:49 -06:00
2015-09-23 11:01:16 -06:00
2017-04-14 14:00:49 -06:00
2017-03-31 08:28:58 -06:00
2016-06-27 12:26:08 -07:00
2017-02-20 12:16:15 +01:00
2017-04-08 11:25:38 -06:00
2013-11-08 09:10:30 -07:00