Re: Suspicious test failure - mdmon misses recovery events on loop devices
From: Martin Wilck <hidden>
Date: 2013-07-29 20:42:25
From: Martin Wilck <hidden>
Date: 2013-07-29 20:42:25
My current idea to solve this is yet another separate thread just for monitoring kernel state changes. Don't have it ready yet, though.
Another idea would be in manage_member, after queueing the metadata update and waking up the monitor, to wait for the metadata to finish processing before actually starting the recovery (writing "recover" to sync_action). Martin