Couple more testing fixes
Status from this message: Applied,
Get series with b4
b4 am [email protected]Versions newest first
Patches in v3 Applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | tests/00readonly: Run udevadm settle before setting rotests/ | +1 | 1 reply | |
| 2/2 | mdadm: Don't open md device for CREATE and ASSEMBLElib.c mdadm.c mdadm.h | +33 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v3 yet.
Cover letter [PATCH mdadm v3 0/2] Couple more testing fixes
Hey,
The first commit is a new race condition seen with more recent md/md-next kernels. udevadm settle needs to be called in a test to avoid the race.
The second patch I have already sent a couple times[1], but have reworked it based on feedback from Mariusz. The new version of the patch keeps the checks on the device if it already exists but changes them so it doesn't require openning the device (which has annoying side effects).
Logan
[1] https://lkml.kernel.org/r/[email protected]
--
Logan Gunthorpe (2):
tests/00readonly: Run udevadm settle before setting ro
mdadm: Don't open md device for CREATE and ASSEMBLE
lib.c | 12 ++++++++++++ mdadm.c | 40 ++++++++++++++++++++-------------------- mdadm.h | 1 + tests/00readonly | 1 + 4 files changed, 34 insertions(+), 20 deletions(-)
--
2.30.2