Mikulas Patocka a2aebe03be dm raid1: use timer
This patch replaces the schedule() in the main kmirrord thread with a timer.
The schedule() could introduce an unwanted delay when work is ready to be
processed.

The code instead calls wake() when there's work to be done immediately, and
delayed_wake() after a failure to give a short delay before retrying.

Signed-off-by: Mikulas Patocka <mpatocka@redhat.com>
Signed-off-by: Alasdair G Kergon <agk@redhat.com>
2008-04-25 13:26:56 +01:00
..
2008-04-22 13:38:03 -07:00
2008-04-21 22:38:45 +00:00
2008-04-25 13:26:56 +01:00
2008-04-24 23:15:43 +02:00
2008-04-23 21:25:35 -04:00