Thread (9 messages) flat view 9 messages, 5 authors, 2021-03-11

Re: [PATCH] mdmonitor: check if udev has finished events processing

From: Jes Sorensen <hidden>
Date: 2021-03-08 15:23:53

On 1/14/21 9:14 AM, Oleksandr Shchirskyi wrote:
If mdmonitor is awaken by event, wait for udev to finish
events processing, to eliminate the race between udev and mdadm
when spare has been added and need to be moved by mdmonitor

Signed-off-by: Oleksandr Shchirskyi <redacted>
---
 Makefile  |  2 +-
 Monitor.c | 73 ++++++++++++++++++++++++++++++++++++++++++++++---------
 2 files changed, 63 insertions(+), 12 deletions(-)
Hi,

I think it is reasonable to require libudev in 2021, so I have applied
this. However if someone feels there is a reason to not have this build
requirement, I will also accept a patch to make this dependency optional.

Second, I took the liberty to replace the ugly C++ style // comments
with proper /* */ ones.

Thanks,
Jes
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help