Poul-Henning Kamp
29f88f470e
Comment out Kirks io-request priority hack until we can do this in a
...
civilized way which doesn't cause grief.
The problem is that it is not generally safe to cast a "struct bio
*" to a "struct buf *". Things like ccd, vinum, ata-raid and GEOM
constructs bio's which are not entrails of a struct buf.
Also, curthread may or may not have anything to do with the I/O request
at hand.
The correct solution can either be to tag struct bio's with a
priority derived from the requesting threads nice and have disksort
act on this field, this wouldn't address the "silly-seek syndrome"
where two equal processes bang the diskheads from one edge to the
other of the disk repeatedly.
Alternatively, and probably better: a sleep should be introduced
either at the time the I/O is requested or at the time it is completed
where we can be sure to sleep in the right thread.
The sleep also needs to be in constant timeunits, 1/hz can be practicaly
any sub-second size, at high HZ the current code practically doesn't
do anything.
2002-04-22 06:53:20 +00:00
..
2002-04-21 11:16:10 +00:00
2002-04-04 23:39:10 +00:00
2002-02-11 03:54:30 +00:00
2002-04-09 20:10:46 +00:00
2002-03-19 21:25:46 +00:00
2002-03-25 13:52:45 +00:00
2001-11-28 03:26:58 +00:00
2002-03-25 13:52:45 +00:00
2002-04-19 13:35:53 +00:00
2002-04-17 13:06:36 +00:00
2002-04-09 19:58:38 +00:00
2002-04-01 21:31:13 +00:00
2002-01-16 06:55:30 +00:00
2002-04-15 12:11:06 +00:00
2002-03-30 03:52:52 +00:00
2002-03-10 10:50:05 +00:00
2002-04-20 12:02:52 +00:00
2002-04-17 17:51:10 +00:00
2002-03-20 04:09:59 +00:00
2002-04-19 00:45:29 +00:00
2002-04-16 17:04:21 +00:00
2002-04-16 17:11:34 +00:00
2002-02-07 20:58:47 +00:00
2002-04-11 21:03:35 +00:00
2002-04-04 21:03:38 +00:00
2002-02-07 23:06:26 +00:00
2002-04-06 08:44:04 +00:00
2002-04-16 17:11:34 +00:00
2002-04-10 01:14:45 +00:00
2002-04-04 21:03:38 +00:00
2002-03-19 21:25:46 +00:00
2002-04-15 05:24:01 +00:00
2002-04-02 17:43:17 +00:00
2002-03-18 07:45:30 +00:00
2002-04-04 21:03:38 +00:00
2002-04-04 20:52:27 +00:00
2002-04-19 09:20:13 +00:00
2002-03-09 08:02:52 +00:00
2002-04-20 12:02:52 +00:00
2002-04-20 12:02:52 +00:00
2002-02-18 19:49:30 +00:00
2002-04-16 17:11:34 +00:00
2002-04-04 21:03:38 +00:00
2002-04-08 06:59:13 +00:00
2002-04-16 17:11:34 +00:00
2002-02-11 20:37:54 +00:00
2002-04-01 23:51:23 +00:00
2002-04-04 20:49:35 +00:00
2002-03-19 21:25:46 +00:00
2002-03-18 07:45:30 +00:00
2002-04-02 05:50:07 +00:00
2002-04-15 12:23:11 +00:00
2002-04-15 12:23:11 +00:00
2002-04-04 21:03:38 +00:00
2002-04-01 21:31:13 +00:00
2002-02-11 20:37:54 +00:00
2002-02-27 18:32:23 +00:00
2002-04-21 21:08:30 +00:00
2002-04-21 21:08:30 +00:00
2001-10-30 15:21:45 +00:00
2002-02-27 10:07:15 +00:00
2001-10-13 09:17:49 +00:00
2001-11-16 02:02:42 +00:00
2002-03-19 20:48:32 +00:00
2001-04-10 07:59:06 +00:00
2002-02-07 20:58:47 +00:00
2002-04-01 21:31:13 +00:00
2002-03-19 21:25:46 +00:00
2001-07-04 16:20:28 +00:00
2002-03-29 06:42:54 +00:00
2002-03-19 21:25:46 +00:00
2002-04-04 23:39:10 +00:00
2002-02-22 09:26:35 +00:00
2002-04-09 15:43:32 +00:00
2002-04-22 06:53:20 +00:00
2002-03-19 21:25:46 +00:00
2002-04-08 09:20:07 +00:00
2002-04-04 21:03:38 +00:00
2002-04-17 13:06:36 +00:00
2001-09-21 22:46:54 +00:00
2002-04-04 21:03:38 +00:00
2002-02-21 16:23:38 +00:00
2001-02-18 10:43:53 +00:00
2002-04-15 12:23:11 +00:00
2002-01-05 09:35:50 +00:00
2002-03-04 18:46:13 +00:00
2002-04-01 21:31:13 +00:00
2002-03-19 21:25:46 +00:00
2002-04-04 21:03:38 +00:00
2002-04-04 23:39:10 +00:00
2002-03-19 10:56:46 +00:00
2002-04-05 10:00:37 +00:00
2002-04-04 21:03:38 +00:00
2002-04-04 17:49:48 +00:00
2002-04-04 20:52:27 +00:00
2002-04-16 17:03:05 +00:00
2002-03-31 22:37:00 +00:00
2002-04-04 21:03:38 +00:00
2002-04-13 20:09:06 +00:00
2002-04-20 21:56:42 +00:00
2002-03-15 08:03:46 +00:00
2002-04-17 13:06:36 +00:00
2002-04-17 13:05:13 +00:00
2002-04-01 21:31:13 +00:00
2002-04-01 21:31:13 +00:00
2002-03-19 21:25:46 +00:00
2002-03-19 21:25:46 +00:00
2002-03-24 05:09:11 +00:00
2001-09-12 08:38:13 +00:00
2002-04-01 21:31:13 +00:00
2002-04-16 17:09:22 +00:00
2002-03-19 21:25:46 +00:00
2002-03-19 21:25:46 +00:00
2002-04-16 17:09:22 +00:00
2001-06-01 21:47:34 +00:00
2002-03-20 05:30:58 +00:00
2002-04-19 04:46:24 +00:00
2002-04-12 00:01:50 +00:00
2001-08-17 22:01:18 +00:00
2002-03-20 04:39:32 +00:00
2002-03-20 04:39:32 +00:00
2002-04-08 03:04:22 +00:00
2002-04-19 13:46:24 +00:00
2002-03-24 05:09:11 +00:00
2002-04-01 21:31:13 +00:00
2002-04-20 12:02:52 +00:00
2002-04-04 21:03:38 +00:00
2002-04-09 05:14:17 +00:00
2002-03-19 21:25:46 +00:00
2002-04-17 13:06:36 +00:00
2002-03-20 04:09:59 +00:00
2002-03-24 05:09:11 +00:00
2002-04-20 01:37:08 +00:00
2002-03-25 21:30:50 +00:00
2002-03-20 04:09:59 +00:00
2002-04-17 13:06:36 +00:00
2002-04-04 21:03:38 +00:00
2002-04-20 01:37:08 +00:00
2002-04-16 17:11:34 +00:00
2002-01-04 05:27:47 +00:00
2002-03-15 18:49:47 +00:00