-
udev cookies should be set right in before the dm_task_run() call otherwise we risk a hang while waiting for a cookie associated with not yet executed dm task. For example: failing to add table line (dm_task_add_target()) results in such hang.
03d9db92