diff options
author | Juergen Gross <[email protected]> | 2017-05-18 17:28:49 +0200 |
---|---|---|
committer | Konrad Rzeszutek Wilk <[email protected]> | 2017-06-13 16:27:39 -0400 |
commit | a24fa22ce22ae302b3bf8f7008896d52d5d57b8d (patch) | |
tree | 06c125fb23f5bd7b61f10d0d21110b8ed7ebccca /tools/perf/util/scripting-engines/trace-event-python.c | |
parent | 71df1d7ccad1c36f7321d6b3b48f2ea42681c363 (diff) |
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 <[email protected]>
Tested-by: Steven Haigh <[email protected]>
Acked-by: Roger Pau Monné <[email protected]>
Signed-off-by: Konrad Rzeszutek Wilk <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions