dm raid1: use hold framework in do_failures

Use the hold framework in do_failures.

This patch doesn't change the bio processing logic, it just simplifies
failure handling and avoids periodically polling the failures list.

Signed-off-by: Mikulas Patocka <[email protected]>
Reviewed-by: Takahiro Yasui <[email protected]>
Tested-by: Takahiro Yasui <[email protected]>
Signed-off-by: Alasdair G Kergon <[email protected]>
1 file changed