From: Martin K. Petersen Date: Fri, 10 Sep 2010 18:50:10 +0000 (+0200) Subject: block/scsi: Provide a limit on the number of integrity segments X-Git-Tag: v2.6.37-rc1~168^2~37 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=13f05c8d8e98bbdce89158bfdb2e380940695a88;p=pandora-kernel.git block/scsi: Provide a limit on the number of integrity segments Some controllers have a hardware limit on the number of protection information scatter-gather list segments they can handle. Introduce a max_integrity_segments limit in the block layer and provide a new scsi_host_template setting that allows HBA drivers to provide a value suitable for the hardware. Add support for honoring the integrity segment limit when merging both bios and requests. Signed-off-by: Martin K. Petersen Signed-off-by: Jens Axboe --- Reading git-diff-tree failed