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
..
2006-01-01 22:21:50 +01:00
2009-12-10 23:52:32 +00:00
2009-12-10 23:52:22 +00:00
2009-12-10 23:52:13 +00:00
2007-10-20 02:01:26 +01:00
2010-07-26 12:52:27 +10:00
2010-07-26 12:52:27 +10:00
2010-06-24 13:34:57 +10:00
2009-03-31 14:57:37 +11:00