[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH v2 0/4] Implement reconnect for vhost-user-scsi
From: |
Li Feng |
Subject: |
[PATCH v2 0/4] Implement reconnect for vhost-user-scsi |
Date: |
Tue, 25 Jul 2023 18:42:43 +0800 |
Hi,
This patchset adds reconnect support for vhost-user-scsi. At the same
times, fix vhost fd leak and refactor some code.
Changes for v2:
- Split the v1 patch to small separate patchset;
- New patch for fixing fd leak, which has sent to reviewers in another
mail;
- Implement the `vhost_user_scsi_handle_output`;
- Add the started_vu safe check;
- Fix error handler;
- Check the inflight before set/get inflight fd.
Li Feng (4):
vhost: fix the fd leak
vhost-user-common: send get_inflight_fd once
vhost: move and rename the conn retry times
vhost-user-scsi: support reconnect to backend
hw/block/vhost-user-blk.c | 4 +-
hw/scsi/vhost-scsi-common.c | 43 ++---
hw/scsi/vhost-user-scsi.c | 220 +++++++++++++++++++++++---
hw/virtio/vhost-user-gpio.c | 3 +-
hw/virtio/vhost.c | 2 +
include/hw/virtio/vhost-scsi-common.h | 3 +
include/hw/virtio/vhost-user-scsi.h | 3 +
include/hw/virtio/vhost.h | 2 +
8 files changed, 235 insertions(+), 45 deletions(-)
--
2.41.0
[PATCH v2 0/4] Implement reconnect for vhost-user-scsi,
Li Feng <=
- [PATCH v2 1/4] vhost: fix the fd leak, Li Feng, 2023/07/25
- [PATCH v2 2/4] vhost-user-common: send get_inflight_fd once, Li Feng, 2023/07/25
- Re: [PATCH v2 2/4] vhost-user-common: send get_inflight_fd once, Michael S. Tsirkin, 2023/07/28
- Re: [PATCH v2 2/4] vhost-user-common: send get_inflight_fd once, Li Feng, 2023/07/28
- Re: [PATCH v2 2/4] vhost-user-common: send get_inflight_fd once, Raphael Norwitz, 2023/07/30
- Re: [PATCH v2 2/4] vhost-user-common: send get_inflight_fd once, Li Feng, 2023/07/31
- Re: [PATCH v2 2/4] vhost-user-common: send get_inflight_fd once, Raphael Norwitz, 2023/07/31
[PATCH v2 3/4] vhost: move and rename the conn retry times, Li Feng, 2023/07/25