8b93770503
g_mirror_event_send() acquires the I/O queue lock to deliver a wakeup to the worker thread, and this is done after enqueuing the event. So it's sufficient to check the event queue before atomically releasing the queue lock and going to sleep. MFC after: 1 week Sponsored by: Dell EMC Isilon |
||
---|---|---|
.. | ||
g_mirror_ctl.c | ||
g_mirror.c | ||
g_mirror.h |