]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitfe9cf30eb8186ef267d1868dc9f12f2d0f40835a
tree357db984073d7362b6c31dd431f77768c65800bf
parent784aae735d9b0bba3f8b9faef4c8b30df3bf0128
dm mpath: move trigger_event to system workqueue

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>
drivers/md/dm-mpath.c