diff options
author | 2021-05-25 12:47:30 -0500 | |
---|---|---|
committer | 2021-07-03 04:50:54 -0400 | |
commit | 31fbea3ab94ea1bf537365e9340d64d216c3c3eb (patch) | |
tree | da3057742e0b347c4914fa91849de910fb311618 /drivers/gpu/drm/amd/amdgpu/amdgpu_atomfirmware.h | |
parent | vhost: remove work arg from vhost_work_flush (diff) | |
download | wireguard-linux-31fbea3ab94ea1bf537365e9340d64d216c3c3eb.tar.xz wireguard-linux-31fbea3ab94ea1bf537365e9340d64d216c3c3eb.zip |
vhost-scsi: remove extra flushes
The vhost work flush function was flushing the entire work queue, so
there is no need for the double vhost_work_dev_flush calls in
vhost_scsi_flush.
And we do not need to call vhost_poll_flush for each poller because
that call also ends up flushing the same work queue thread the
vhost_work_dev_flush call flushed.
Signed-off-by: Mike Christie <michael.christie@oracle.com>
Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>
Acked-by: Jason Wang <jasowang@redhat.com>
Link: https://lore.kernel.org/r/20210525174733.6212-3-michael.christie@oracle.com
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_atomfirmware.h')
0 files changed, 0 insertions, 0 deletions