jh
9c043d5908
Use g_eventlock to protect against losing wakeups in the g_event process
...
and replace tsleep(9) with msleep(9) which doesn't use a timeout. The
previously used timeout caused the event process to wake up ten times
per second on an idle system.
one_event() is now called with the topology lock held and it returns
with both the topology and event locks held when there are no more
events in the queue.
Reported by: mav, Marius Nünnerich
Reviewed by: freebsd-geom
2010-11-22 16:47:53 +00:00
..
2010-11-19 15:07:36 +00:00
2010-11-14 20:41:22 +00:00
2010-11-20 19:23:16 +00:00
2010-11-18 13:38:33 +00:00
2010-11-16 15:53:44 +00:00
2010-11-22 14:42:13 +00:00
2010-11-22 01:11:28 +00:00
2010-11-08 21:22:55 +00:00
2010-11-17 16:17:15 +00:00
2010-11-22 16:43:05 +00:00
2010-11-19 21:17:34 +00:00
2010-09-30 17:05:23 +00:00
2010-11-22 16:47:53 +00:00
2010-11-19 21:17:34 +00:00
2010-11-22 09:04:29 +00:00
2010-11-09 20:46:41 +00:00
2010-09-10 11:19:03 +00:00
2010-11-22 15:28:54 +00:00
2010-11-14 14:12:43 +00:00
2010-11-14 20:38:11 +00:00
2010-11-22 01:11:28 +00:00
2010-11-21 19:33:19 +00:00
2010-11-14 09:59:52 +00:00
2010-11-22 12:32:19 +00:00
2010-11-22 14:16:23 +00:00
2010-11-20 12:27:40 +00:00
2010-11-14 20:38:11 +00:00
2010-10-19 11:55:58 +00:00
2010-11-19 21:17:34 +00:00
2010-11-05 21:13:16 +00:00
2010-10-19 00:20:00 +00:00
2010-11-14 13:09:32 +00:00
2010-11-11 19:36:21 +00:00
2010-11-08 22:10:51 +00:00
2010-11-14 20:38:11 +00:00
2010-10-13 00:57:14 +00:00
2010-11-09 10:59:09 +00:00
2010-11-15 21:58:10 +00:00
2010-11-11 16:06:47 +00:00
2010-11-22 14:42:13 +00:00
2010-11-05 00:56:21 +00:00
2010-11-20 18:40:50 +00:00
2010-11-21 10:18:28 +00:00
2010-11-16 12:43:45 +00:00
2010-10-19 20:53:30 +00:00
2010-11-21 03:58:11 +00:00