summaryrefslogtreecommitdiffstats
path: root/drivers/md/dm-io.c
diff options
context:
space:
mode:
authorMikulas Patocka <mpatocka@redhat.com>2008-04-24 22:10:42 +0100
committerAlasdair G Kergon <agk@redhat.com>2008-04-25 13:26:56 +0100
commita2aebe03be60ae4da03507a00d60211d5e0327c3 (patch)
tree9475bf530b36f3f4a26c8307d94b3c53787d9ef2 /drivers/md/dm-io.c
parenta765e20eeb423d0fa6a02ffab51141e53bbd93cb (diff)
downloadop-kernel-dev-a2aebe03be60ae4da03507a00d60211d5e0327c3.zip
op-kernel-dev-a2aebe03be60ae4da03507a00d60211d5e0327c3.tar.gz
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>
Diffstat (limited to 'drivers/md/dm-io.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud