NeilBrown
4a5add4995
raid5: Don't set read-ahead when there is no queue
...
dm-raid456 does not provide a 'queue' for raid5 to use,
so we must make raid5 stop depending on the queue.
First: read_ahead
dm handles read-ahead adjustment fully in userspace, so
simply don't do any readahead adjustments if there is
no queue.
Also re-arrange code slightly so all the accesses to ->queue are
together.
Finally, move the blk_queue_merge_bvec function into the 'if' as
the ->split_io setting in dm-raid456 has the same effect.
Signed-off-by: NeilBrown <neilb@suse.de>
2010-07-26 12:52:27 +10:00
..
2009-10-16 16:25:19 +11:00
2006-01-01 22:21:50 +01:00
2010-07-26 12:52:27 +10:00
2010-05-18 15:27:57 +10:00
2009-04-02 19:55:23 +01:00
2010-03-06 02:32:27 +00:00
2010-03-06 02:32:27 +00:00
2009-12-10 23:52:12 +00:00
2009-12-10 23:52:32 +00:00
2009-12-10 23:52:22 +00:00
2010-03-06 02:32:31 +00:00
2009-12-10 23:52:13 +00:00
2010-03-06 02:32:27 +00:00
2010-03-30 22:02:32 +09:00
2010-03-30 22:02:32 +09:00
2009-09-04 20:40:34 +01:00
2010-03-06 02:32:27 +00:00
2010-03-06 02:32:27 +00:00
2008-10-10 13:36:58 +01:00
2009-04-02 19:55:27 +01:00
2009-06-22 10:12:27 +01:00
2009-06-22 10:12:27 +01:00
2010-03-06 02:32:35 +00:00
2010-03-30 22:02:32 +09:00
2009-06-22 10:12:27 +01:00
2010-03-30 22:02:32 +09:00
2010-02-16 18:42:51 +00:00
2009-12-10 23:52:12 +00:00
2010-03-06 02:32:33 +00:00
2010-03-06 02:32:27 +00:00
2010-03-07 17:04:49 -08:00
2010-03-06 02:32:27 +00:00
2010-03-30 22:02:32 +09:00
2010-03-06 02:29:52 +00:00
2007-10-20 02:01:26 +01:00
2009-01-06 03:04:58 +00:00
2010-03-06 02:32:31 +00:00
2010-03-06 02:32:31 +00:00
2010-05-22 08:31:36 +10:00
2010-05-18 15:27:58 +10:00
2010-05-22 08:31:36 +10:00
2009-06-18 08:49:42 +10:00
2009-10-16 16:25:19 +11:00
2010-07-26 12:52:27 +10:00
2010-07-26 12:52:27 +10:00
2009-03-31 15:09:39 +11:00
2010-05-22 08:31:36 +10:00
2009-06-16 16:54:21 +10:00
2010-06-24 13:34:57 +10:00
2010-06-24 13:33:24 +10:00
2010-05-22 08:31:36 +10:00
2009-12-14 12:51:41 +11:00
2010-07-26 12:52:27 +10:00
2010-07-26 12:52:26 +10:00
2010-03-30 22:02:32 +09:00
2009-10-16 16:25:19 +11:00
2009-10-16 16:25:19 +11:00
2009-03-31 15:09:39 +11:00
2009-03-31 15:09:39 +11:00
2009-03-31 15:09:39 +11:00
2009-03-31 15:09:39 +11:00
2009-03-31 14:57:37 +11:00
2010-06-24 13:33:51 +10:00
2010-06-24 13:33:24 +10:00
2009-10-16 16:25:19 +11:00