dm: allow uninterruptible wait for pending io
authorMikulas Patocka <mpatocka@redhat.com>
Thu, 2 Apr 2009 18:55:38 +0000 (19:55 +0100)
committerAlasdair G Kergon <agk@redhat.com>
Thu, 2 Apr 2009 18:55:38 +0000 (19:55 +0100)
commit401600dfd368305e641d79db16d514f55c084544
tree4e1c3f19c52d2bb7d78ec01689d17659960732ab
parentef2085870ea448b3c19160d899cf4f948da6a384
dm: allow uninterruptible wait for pending io

Allow uninterruptible wait for pending IOs.

Add argument "interruptible" to dm_wait_for_completion that specifies
either interruptible or uninterruptible waiting.

Signed-off-by: Mikulas Patocka <mpatocka@redhat.com>
Signed-off-by: Alasdair G Kergon <agk@redhat.com>
drivers/md/dm.c