xen: frontend devices should handle missed backend CLOSING
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest6 patches 10 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/6 | xen-netfront: handle backend CLOSED without CLOSINGdrivers/ | +4 | 0 replies | |
| 2/6 | xen-blkfront: handle backend CLOSED without CLOSINGdrivers/ | +4 | 9 replies | |
| 3/6 | xen-pcifront: handle backend CLOSED without CLOSINGdrivers/ | +4 | 0 replies | |
| 4/6 | xen-fbfront: handle backend CLOSED without CLOSINGdrivers/ | +4 | 0 replies | |
| 5/6 | xen-kbdfront: handle backend CLOSED without CLOSINGdrivers/ | +4 | 0 replies | |
| 6/6 | xen/hvc: handle backend CLOSED without CLOSINGdrivers/ | +4 | 0 replies |
Reviews trailers per patch
1 of 6 patches has a Reviewed-by or Acked-by.
| Patch | Konrad Rzeszutek Wilk |
|---|---|
| 1/6 | |
| 2/6 | A-b |
| 3/6 | |
| 4/6 | |
| 5/6 | |
| 6/6 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH 0/6] xen: frontend devices should handle missed backend CLOSING
The series makes all the Xen frontend drivers handle the backend transitioning to CLOSED without the frontend having previously seen the backend in the CLOSING state.
Backends shouldn't do this but some do. e.g., if the host is XenServer and the toolstack decides to do a forced shutdown of a VBD, then the blkfront may miss the CLOSING transition and the /dev/xvdX device will not be destroyed which prevents it being reused.
I have seen systems that ended up in this state but it's not clear if this was the actual cause. However, I think in general it's a good thing to thing to improve the handling of unexpected state transitions.
Konrad, I've split this into a patch per frontend in case each patch should go via a different maintainer. But if you'd prefer, I can roll this up into one patch to via your Xen tree.
David