[PATCH] dm: raid1: fix waiting for io on suspend
authorJonathan E Brassow <jbrassow@redhat.com>
Thu, 9 Nov 2006 01:44:44 +0000 (17:44 -0800)
committerLinus Torvalds <torvalds@g5.osdl.org>
Thu, 9 Nov 2006 02:29:23 +0000 (18:29 -0800)
commit33184048dc4f9d5550d3b6a88c8e0ff92033eb6e
treee48a69f43b6efd99c6bd82ee768e5bff2358dbcd
parent5d55fdf94998db1df9ee7f1def8806bfd0e5ff73
[PATCH] dm: raid1: fix waiting for io on suspend

All device-mapper targets must complete outstanding I/O before suspending.
The mirror target generates I/O in its recovery phase and fails to wait for
it.  It needs to be tracked so we can ensure that it has completed before we
suspend.

[akpm@osdl.org: cleanup]
Signed-off-by: Jonathan E Brassow <jbrassow@redhat.com>
Signed-off-by: Alasdair G Kergon <agk@redhat.com>
Cc: <dm-devel@redhat.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
drivers/md/dm-raid1.c