RFC libxl: Asynchronous event cancellation
Get series with b4
b4 am [email protected]Versions newest first
- v1 RFC Latest14 patches 0 repliesNew
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/14 | libxl: suspend: switch_logdirty_done takes rctools/ | +14 | 0 replies | |
| 2/14 | libxl: suspend: common suspend callbacks take rctools/ | +22 | 0 replies | |
| 3/14 | libxl: suspend: Return correct error from callbackstools/ tools/ | +14 | 0 replies | |
| 4/14 | libxl: Use libxl__xswait* in libxl__ao_devicetools/ tools/ | +20 | 0 replies | |
| 5/14 | libxl: xswait/devstate: Move xswait to before devstatetools/ | +53 | 0 replies | |
| 6/14 | libxl: devstate: Use libxl__xswait*tools/ tools/ tools/ | +40 | 0 replies | |
| 7/14 | libxl: New error codes CANCELLED etc.tools/ | +3 | 0 replies | |
| 8/14 | libxl: events: Permit timeouts to signal cancellationtools/ tools/ tools/ +2 more | +49 | 0 replies | |
| 9/14 | libxl: domain create: Do not destroy on cancellationtools/ tools/ | +5 | 0 replies | |
| 10/14 | libxl: ao: Record ultimate parent of a nested aotools/ tools/ | +17 | 0 replies | |
| 11/14 | libxl: ao: Count the nested progeny of an aotools/ tools/ | +8 | 0 replies | |
| 12/14 | libxl: ao: Provide manip_refcnttools/ tools/ | +35 | 0 replies | |
| 13/14 | libxl: ao: Cancellation APItools/ tools/ tools/ +1 more | +230 | 0 replies | |
| 14/14 | libxl: ao: Timeouts are cancellabletools/ tools/ | +29 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [RFC PATCH 00/14] libxl: Asynchronous event cancellation
Comments on my approach would be very welcome at this stage. This applies only on top of my async suspend series.
I have compiled it but I HAVE NOT EXECUTED IT.
There is nothing to exercise this. I think it might be possible to make xl have a SIGINT handler which DTRT, but only at the cost of making it multithreaded or giving it its own event loop.
Preparatory work on the suspend code's dodgy error handling:
01/14 libxl: suspend: switch_logdirty_done takes rc 02/14 libxl: suspend: common suspend callbacks take rc 03/14 libxl: suspend: Return correct error from callbacks
Switching to libxl__xswait* to reduce number of timeout call sites:
04/14 libxl: Use libxl__xswait* in libxl__ao_device 05/14 libxl: xswait/devstate: Move xswait to before devstate 06/14 libxl: devstate: Use libxl__xswait*
Public API changes:
07/14 libxl: New error codes CANCELLED etc.
09/14 libxl: domain create: Do not destroy on cancellation 13/14 libxl: ao: Cancellation API
Internal API changes:
08/14 libxl: events: Permit timeouts to signal cancellation 10/14 libxl: ao: Record ultimate parent of a nested ao 11/14 libxl: ao: Count the nested progeny of an ao 12/14 libxl: ao: Provide manip_refcnt
Actual functionality!
14/14 libxl: ao: Timeouts are cancellable