Files
linux-legacy/include/linux
Alan D. Brunelle ac9fafa124 block: Skip I/O merges when disabled
The block I/O + elevator + I/O scheduler code spend a lot of time trying
to merge I/Os -- rightfully so under "normal" circumstances. However,
if one were to know that the incoming I/O stream was /very/ random in
nature, the cycles are wasted.

This patch adds a per-request_queue tunable that (when set) disables
merge attempts (beyond the simple one-hit cache check), thus freeing up
a non-trivial amount of CPU cycles.

Signed-off-by: Alan D. Brunelle <alan.brunelle@hp.com>
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
2008-04-29 14:48:55 +02:00
..
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
2008-04-19 09:59:43 +10:00
…
…
…
…
…
…
…
…
…
2008-04-29 14:48:55 +02:00
…
2008-04-22 15:16:32 -05:00
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
2008-04-21 11:22:28 -05:00
…
2008-04-25 13:26:55 +01:00
2008-04-25 13:26:55 +01:00
2008-04-25 13:26:55 +01:00
2008-04-21 22:38:45 +00:00
…
…
2008-04-28 08:58:30 -07:00
…
…
…
…
…
…
…
2008-04-19 19:19:54 +02:00
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
2008-04-28 08:58:35 -07:00
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
2008-04-28 10:03:31 -07:00
…
2008-04-22 11:34:59 +02:00
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
2008-04-23 21:25:36 -04:00
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
2008-04-19 19:10:28 -07:00
…
…
…
…
…
…
…
…
…
2008-04-26 17:36:37 +02:00
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
2008-04-19 19:44:57 +02:00
…
…
…
2008-04-25 00:46:09 -04:00
…
…
…
…
2008-04-28 08:58:32 -07:00
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
2008-04-28 08:58:29 -07:00
…
…
…
…
…
…
…
…
2008-04-19 16:54:56 -04:00
2008-04-19 16:55:29 -04:00
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
2008-04-20 21:47:03 -07:00
2008-04-20 21:47:03 -07:00
2008-04-20 21:47:07 -07:00
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
2008-04-25 00:25:08 +02:00
2008-04-28 08:58:32 -07:00
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
2008-04-28 08:58:20 -07:00
…
2008-04-28 08:58:29 -07:00
…
…
2008-04-19 19:44:59 +02:00
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
2008-04-24 21:16:57 -07:00
…
…
…
…
…
…
…
…
2008-04-28 08:58:21 -07:00
…
…
…
…
…
…
…
…
…
…
…
…