From: Christof Schmitt Date: Fri, 10 Sep 2010 18:50:40 +0000 (+0200) Subject: zfcp: Report scatter gather limit for DIX protection information X-Git-Tag: v2.6.37-rc1~168^2~36 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=175b79f0632544d62aae72e5496c14e3e3ff2ae7;p=pandora-kernel.git zfcp: Report scatter gather limit for DIX protection information When sending DIX integrity segments with an I/O request, the restriction for the maximum number of segments is still the same for the zfcp hardware. Report the new sg_prot_tablesize for the SCSI host, so that the number of integrity segments plus the number of data segments is not larger than the hardware limit. This results in using half of the hardware segments for integrity data and the other half for regular data. Reviewed-by: Swen Schillig Signed-off-by: Christof Schmitt Signed-off-by: Jens Axboe --- Reading git-diff-tree failed