linux/drivers/block
Juergen Gross 366f50133b xen/blkback: don't use xen_blkif_get() in xen-blkback kthread
commit a24fa22ce2 upstream.

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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2017-08-06 19:19:43 -07:00
..
aoe
drbd drbd: avoid redefinition of BITS_PER_PAGE 2017-05-08 07:46:01 +02:00
mtip32xx mtip32xx: Cleanup queued requests after surprise removal 2016-04-12 09:08:52 -07:00
paride paride: make 'verbose' parameter an 'int' again 2016-05-04 14:48:51 -07:00
rsxx
xen-blkback xen/blkback: don't use xen_blkif_get() in xen-blkback kthread 2017-08-06 19:19:43 -07:00
zram zram: do not use copy_page with non-page aligned address 2017-04-21 09:30:06 +02:00
amiflop.c
ataflop.c
brd.c brd: Fix discard request processing 2016-04-12 09:08:53 -07:00
cciss_cmd.h
cciss_scsi.c
cciss_scsi.h
cciss.c
cciss.h
cpqarray.c
cpqarray.h
cryptoloop.c
DAC960.c
DAC960.h
floppy.c
hd.c
ida_cmd.h
ida_ioctl.h
Kconfig
loop.c loop: fix LO_FLAGS_PARTSCAN hang 2017-03-12 06:37:27 +01:00
loop.h
Makefile
mg_disk.c
nbd.c nbd: ratelimit error msgs after socket close 2016-05-11 11:21:10 +02:00
null_blk.c null_blk: use async queue restart helper 2015-12-28 13:07:09 -07:00
osdblk.c
pktcdvd.c
ps3disk.c
ps3vram.c
rbd_types.h
rbd.c rbd: use GFP_NOIO consistently for request allocations 2016-04-20 15:42:09 +09:00
skd_main.c
skd_s1120.h
smart1,2.h
sunvdc.c
swim_asm.S
swim.c
swim3.c
sx8.c
umem.c
umem.h
virtio_blk.c
xen-blkfront.c
xsysace.c
z2ram.c