b=20533
i=johann
i=adilger
----------------------------------------------------------------------
Modified Files:
Tag: b1_8
lustre/ChangeLog
lustre/kernel_patches/patches/raid5-large-io-rhel5.patch
===================================================================
Description: Changes in raid5-large-io-rhel5.patch to calculate sectors properly
Severity : normal
Bugzilla : 20533
+Description: Changes in raid5-large-io-rhel5.patch to calculate sectors properly
+
+Severity : normal
+Bugzilla : 20533
Description: Increase the default BLK_DEF_MAX_SECTORS value for RHEL5 and SLES11
Severity : normal
+ /* in order to support large I/Os */
+ blk_queue_max_sectors(mddev->queue, conf->chunk_size * conf->previous_raid_disks >> 9);
-+ mddev->queue->max_phys_segments = conf->chunk_size * conf->previous_raid_disks >> PAGE_SHIFT;
++ mddev->queue->max_phys_segments = conf->chunk_size * (conf->previous_raid_disks - conf->max_degraded) >> PAGE_SHIFT;
+ mddev->queue->max_hw_segments = conf->chunk_size * conf->previous_raid_disks >> PAGE_SHIFT;;
+
return 0;