diff options
| author | NeilBrown <neilb@suse.de> | 2010-06-01 19:37:28 +1000 |
|---|---|---|
| committer | NeilBrown <neilb@suse.de> | 2010-07-26 12:52:27 +1000 |
| commit | 4a5add49951e698073011855d1a8a7306bc9308d (patch) | |
| tree | 91c098468b96b959f88e1e2a386c6e8911db7c09 /drivers/scsi/mpt2sas/mpi/mpi2_raid.h | |
| parent | 768a418db102bb6aa6064e6090892b5c21ff1f9e (diff) | |
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>
Diffstat (limited to 'drivers/scsi/mpt2sas/mpi/mpi2_raid.h')
0 files changed, 0 insertions, 0 deletions
