dm_wait_for_completion
r = dm_wait_for_completion(md, task_state);
dm_wait_for_completion(md, TASK_UNINTERRUPTIBLE);