dm mpath: move trigger_event to system workqueue
authorAlasdair G Kergon <agk@redhat.com>
Tue, 6 Jan 2009 03:05:13 +0000 (03:05 +0000)
committerAlasdair G Kergon <agk@redhat.com>
Tue, 6 Jan 2009 03:05:13 +0000 (03:05 +0000)
The same workqueue is used both for sending uevents and processing queued I/O.
Deadlock has been reported in RHEL5 when sending a uevent was blocked waiting
for the queued I/O to be processed.  Use scheduled_work() for the asynchronous
uevents instead.

Signed-off-by: Alasdair G Kergon <agk@redhat.com>

No differences found