RFC Per-domain locking in xl
Get series with b4
b4 am [email protected]Versions newest first
- v1 RFC Latest4 patches 3 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/4 | xl: move {acquire, release}_lock to xl_utils.ctools/ tools/ tools/ | +70 | 0 replies | |
| 2/4 | xl: make lock functions work with arbitrary files and fdstools/ tools/ tools/ +2 more | +37 | 0 replies | |
| 3/4 | xl: introduce facility to run function with per-domain lock heldtools/ tools/ tools/ | +23 | 1 reply | |
| 4/4 | XXX a command to test the locking facilitytools/ tools/ tools/ | +44 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [RFC PATCH 0/4] Per-domain locking in xl
It has always been the case that different xl processes can manipulate the same domain at the same time. This could be problematic.
This series attempts to provide facility for xl to have a per-domain lock. This lock should be used whenever xl manipulates an existing domain.
The last patch is an example on using the facility and serves as an example for further refactoring. The refactoring is a bit tedious so I would like to know if people are happy with this approach before working on it further.
Wei Liu (4):
xl: move {acquire,release}_lock to xl_utils.c
xl: make lock functions work with arbitrary files and fds
xl: introduce facility to run function with per-domain lock held XXX a command to test the locking facility
tools/xl/xl.c | 19 ++++++----- tools/xl/xl.h | 6 +++- tools/xl/xl_cmdtable.c | 5 +++ tools/xl/xl_misc.c | 37 +++++++++++++++++++++ tools/xl/xl_utils.c | 88 +++++++++++++++++++++++++++++++++++++++++++++++++ tools/xl/xl_utils.h | 6 ++++ tools/xl/xl_vmcontrol.c | 73 ++-------------------------------------- 7 files changed, 154 insertions(+), 80 deletions(-)
Signature · 7 lines
2.11.0 _______________________________________________ Xen-devel mailing list [email protected] https://lists.xen.org/xen-devel