Alexander Larsson 8cb481fd5f Use io_prio as mainloop prio for async-emulation (#579449)
I'm not sure why we used the elaborate formula to convert the io-priority
to the priority of the mainloop idle when emulating async i/o with idles.
However, it causes the default io priority to be less than the normal
idle prio, so the i/o won't be scheduled if there is an idle outstanding.

There is really no great mapping to use here, doing blocking i/o in an
idle of any prio is generally bad and apps doing a lot of async i/o should
initialize threads. However, if we use the io-priority directly we at least
avoid the starvation problem above and make things easier to understand.
2009-06-18 19:43:46 +02:00
..
2009-05-18 13:07:39 +02:00
2009-06-14 22:29:17 -04:00
2009-06-15 01:12:50 -04:00
2009-05-30 15:29:23 +02:00
2009-05-01 10:37:45 -04:00
2007-11-28 18:45:08 +00:00
2009-03-31 19:39:16 -04:00
2009-01-19 07:05:07 +00:00
2009-03-01 17:12:58 +00:00
2009-06-15 00:45:55 -04:00
2009-04-03 00:35:43 -04:00
2009-06-18 15:27:42 +02:00
2009-05-13 14:42:46 +02:00
2008-12-12 20:59:54 +00:00
2009-05-28 00:30:21 -04:00
2009-05-30 15:24:06 +02:00
2007-12-01 23:49:34 +00:00
2009-05-13 14:42:38 +02:00
2009-02-27 21:02:19 +00:00
2009-06-01 14:21:05 -04:00
2009-05-28 00:30:21 -04:00
2009-06-01 14:21:05 -04:00
2009-06-14 23:55:12 -04:00
2009-06-12 12:21:07 -04:00
2009-05-28 00:30:21 -04:00
2009-06-08 15:30:28 +02:00
2009-05-28 00:30:21 -04:00
2009-05-28 00:30:21 -04:00
2009-05-05 14:45:18 -04:00
2009-06-01 14:21:05 -04:00
2008-07-21 02:19:56 +00:00
2008-09-04 20:41:50 +00:00
2009-05-30 15:29:23 +02:00
2009-06-15 12:57:21 -04:00