Skip to content

initscript/cache_device: wait for the cache_device to appear

Martin Roukala requested to merge wait_for_cache_device into master

When using USB-backed cache-device, it is possible that the drive is still being enumerated before we check for its existence.

This patch adds up to 10s delay when the user asks for a cache device (auto, reset, or specific node) but none are present.

Merge request reports