summaryrefslogtreecommitdiff
path: root/mm
diff options
context:
space:
mode:
authorMartin K. Petersen <martin.petersen@oracle.com>2010-09-10 22:50:10 +0400
committerJens Axboe <axboe@carl.home.kernel.dk>2010-09-10 22:50:10 +0400
commit13f05c8d8e98bbdce89158bfdb2e380940695a88 (patch)
tree055215e7e2b1bdc684ead64daa61b30b35eaa3c5 /mm
parentc8bf1336824ebd698d37b71763e1c43190f2229a (diff)
downloadlinux-13f05c8d8e98bbdce89158bfdb2e380940695a88.tar.xz
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 <martin.petersen@oracle.com> Signed-off-by: Jens Axboe <axboe@carl.home.kernel.dk>
Diffstat (limited to 'mm')
0 files changed, 0 insertions, 0 deletions