Wait for ueventd to create loop device on Android by tiann · Pull Request #61 · mdaffin/loopdev
I'm unsure wether a fast poll with an initial may be a better idea.
There's a hardcoded 2s timeout that can bite.
Is WatchMask::LCREATE firing? Think there can be the case where the looped files are are already present, free and yielded by LOOP_CTL_GET_FREE.