diff options
Diffstat (limited to 'drivers/md/raid0.c')
-rw-r--r-- | drivers/md/raid0.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/drivers/md/raid0.c b/drivers/md/raid0.c index af0df78223b1..e2e9c1833336 100644 --- a/drivers/md/raid0.c +++ b/drivers/md/raid0.c | |||
@@ -261,12 +261,7 @@ static int raid0_run(mddev_t *mddev) | |||
261 | printk(KERN_ERR "md/raid0: non-zero chunk size required.\n"); | 261 | printk(KERN_ERR "md/raid0: non-zero chunk size required.\n"); |
262 | return -EINVAL; | 262 | return -EINVAL; |
263 | } | 263 | } |
264 | printk(KERN_INFO "%s: setting max_sectors to %d, segment boundary to %d\n", | ||
265 | mdname(mddev), | ||
266 | mddev->chunk_size >> 9, | ||
267 | (mddev->chunk_size>>1)-1); | ||
268 | blk_queue_max_sectors(mddev->queue, mddev->chunk_size >> 9); | 264 | blk_queue_max_sectors(mddev->queue, mddev->chunk_size >> 9); |
269 | blk_queue_segment_boundary(mddev->queue, (mddev->chunk_size>>1) - 1); | ||
270 | mddev->queue->queue_lock = &mddev->queue->__queue_lock; | 265 | mddev->queue->queue_lock = &mddev->queue->__queue_lock; |
271 | 266 | ||
272 | ret = create_strip_zones(mddev); | 267 | ret = create_strip_zones(mddev); |