From: Mikulas Patocka Date: Thu, 24 Apr 2008 21:10:42 +0000 (+0100) Subject: dm raid1: use timer X-Git-Tag: v2.6.26-rc1~1064^2~5 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a2aebe03be60ae4da03507a00d60211d5e0327c3;p=pandora-kernel.git 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 Signed-off-by: Alasdair G Kergon --- Reading git-diff-tree failed