diff options
author | Mike Christie <michael.christie@oracle.com> | 2021-05-25 20:47:31 +0300 |
---|---|---|
committer | Michael S. Tsirkin <mst@redhat.com> | 2021-07-03 11:50:54 +0300 |
commit | d60146c161befc8d62cba427be869b2231224347 (patch) | |
tree | d450ad44caf0396f4a37273dc76955c0a950b601 /drivers/vhost/vhost.h | |
parent | 31fbea3ab94ea1bf537365e9340d64d216c3c3eb (diff) | |
download | linux-d60146c161befc8d62cba427be869b2231224347.tar.xz |
vhost-scsi: reduce flushes during endpoint clearing
vhost_scsi_flush will flush everything, so we can clear the backends then
flush, then destroy. We don't need to flush before each vq destruction
because after the flush we will have made sure there can be no new cmds
started and there are no running cmds.
Signed-off-by: Mike Christie <michael.christie@oracle.com>
Link: https://lore.kernel.org/r/20210525174733.6212-4-michael.christie@oracle.com
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'drivers/vhost/vhost.h')
0 files changed, 0 insertions, 0 deletions