Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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 <[email protected]> Signed-off-by: Christof Schmitt <[email protected]> Signed-off-by: Jens Axboe <[email protected]>
- Loading branch information