Skip to content

tcm_vhost hotplug/hotunplug support and locking/flushing fix

Asias He kvm virtualization 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest6 patches 6 repliesIn review
  2. v15 patches 8 repliesSuperseded

Changes in v2 from the cover letter

- Remove code duplication in tcm_vhost_{hotplug,hotunplug}
- Fix racing of vs_events_nr
- Add flush fix patch to this series

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/6tcm_vhost: Add missed lock in vhost_scsi_clear_endpoint()drivers/vhost/tcm_vhost.c+4 -00 replies
2/6tcm_vhost: Introduce tcm_vhost_check_feature()drivers/vhost/tcm_vhost.c+12 -00 replies
3/6tcm_vhost: Introduce tcm_vhost_check_endpoint()drivers/vhost/tcm_vhost.c+12 -00 replies
3/6tcm_vhost: Introduce tcm_vhost_check_endpoint()drivers/vhost/tcm_vhost.c+12 -00 replies
4/6tcm_vhost: Fix vs->vs_endpoint checking in vhost_scsi_handle_vq()drivers/vhost/tcm_vhost.c+1 -10 replies
4/6tcm_vhost: Fix vs->vs_endpoint checking in vhost_scsi_handle_vq()drivers/vhost/tcm_vhost.c+1 -10 replies
5/6tcm_vhost: Add hotplug/hotunplug supportdrivers/vhost/tcm_vhost.c drivers/vhost/tcm_vhost.h+216 -50 replies
5/6tcm_vhost: Add hotplug/hotunplug supportdrivers/vhost/tcm_vhost.c drivers/vhost/tcm_vhost.h+216 -50 replies
6/6tcm_vhost: Flush vhost_work in vhost_scsi_flush()drivers/vhost/tcm_vhost.c+2 -00 replies
6/6tcm_vhost: Flush vhost_work in vhost_scsi_flush()drivers/vhost/tcm_vhost.c+2 -00 replies

Reviews trailers per patch

None of the 10 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchStefan Hajnoczi
SeriesR-b
1/6
2/6
3/6
3/6
4/6
4/6
5/6
5/6
6/6
6/6

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v2 thread

Cover letter [PATCH V2 0/6] tcm_vhost hotplug/hotunplug support and locking/flushing fix

Changes in v2:
- Remove code duplication in tcm_vhost_{hotplug,hotunplug}
- Fix racing of vs_events_nr
- Add flush fix patch to this series

Asias He (6):
tcm_vhost: Add missed lock in vhost_scsi_clear_endpoint()
tcm_vhost: Introduce tcm_vhost_check_feature()
tcm_vhost: Introduce tcm_vhost_check_endpoint()
tcm_vhost: Fix vs->vs_endpoint checking in vhost_scsi_handle_vq()
tcm_vhost: Add hotplug/hotunplug support
tcm_vhost: Flush vhost_work in vhost_scsi_flush()

 drivers/vhost/tcm_vhost.c | 243 ++++++++++++++++++++++++++++++++++++++++++++--
 drivers/vhost/tcm_vhost.h |  10 ++
 2 files changed, 247 insertions(+), 6 deletions(-)
Signature · 1 line
1.8.1.4