vhost: vhost-scsi bug fixes
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v4 Latest11 patches 7 repliesIn review
- v317 patches 24 repliesSuperseded
- v216 patches 8 repliesSuperseded
Changes in v4 from the cover letter
- really really fix compile errors
- dropped threading patches so we can figure that out separately.
Patches in v4 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/11 | vhost scsi: add lun parser helperdrivers/ | +7 | 0 replies | |
| 2/11 | vhost: remove work arg from vhost_work_flushdrivers/ drivers/ drivers/ +1 more | +8 | 0 replies | |
| 3/11 | vhost net: use goto error handling in opendrivers/ | +14 | 0 replies | |
| 4/11 | vhost: prep vhost_dev_init users to handle failuresdrivers/ drivers/ drivers/ +4 more | +45 | 0 replies | |
| 5/11 | vhost: move vq iovec allocation to dev init timedrivers/ | +38 | 1 reply | |
| 6/11 | vhost: support delayed vq creationdrivers/ drivers/ drivers/ +4 more | +66 | 6 replies | |
| 7/11 | vhost scsi: support delayed IO vq creationdrivers/ | +15 | 0 replies | |
| 8/11 | vhost scsi: alloc cmds per vq instead of sessiondrivers/ | +128 | 0 replies | |
| 9/11 | vhost scsi: fix cmd completion racedrivers/ | +15 | 0 replies | |
| 10/11 | vhost scsi: Add support for LUN resets.drivers/ | +134 | 0 replies | |
| 11/11 | vhost scsi: remove extra flushesdrivers/ | +0 | 0 replies |
Reviews trailers per patch
5 of 11 patches have a Reviewed-by or Acked-by.
| Patch | Paolo Bonzini | Jason Wang | Chaitanya Kulkarni | Maurizio Lombardi |
|---|---|---|---|---|
| 1/11 | R-b | A-b | ||
| 2/11 | A-b | R-b | ||
| 3/11 | A-b | R-b | ||
| 4/11 | A-b | |||
| 5/11 | ||||
| 6/11 | ||||
| 7/11 | ||||
| 8/11 | ||||
| 9/11 | R-b | |||
| 10/11 | ||||
| 11/11 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 4 reviewers.
Cover letter [PATCH 00/11 V4] vhost: vhost-scsi bug fixes
The following patches made over Michael's vhost branch
https://git.kernel.org/pub/scm/linux/kernel/git/mst/vhost.git/log/?h=vhost
The patches fix issues with vhost-scsi's 256 cmd limit where if the guest sends more than 256 cmds it will get IO errors, or even if exactly 256 are being sent then we can race and get IO errors. The patches also add LUN RESET support so guests that do not support resetting command timers will not get IO errors and offlined devices when the physical device hits temp issues.
Jason, you reviewed ever non scsi patch but 2 of them. I was not sure if that was an oversight or you were ok with them. I'm sending this out hoping you were ok with them and forgot to reply (or I guess will be ok with them if you just missed them last time).
V4:
- really really fix compile errors
- dropped threading patches so we can figure that out separately.
V3:
- fix compile errors
- fix possible crash where cmd could be freed while adding it to completion list
- fix issue where we added the worker thread to the blk cgroup but the blk IO was submitted by a driver workqueue.
V2:
- fix use before set cpu var errors
- drop vhost_vq_is_setup
- include patches to do a worker thread per scsi IO vq