]> git.baikalelectronics.ru Git - kernel.git/commit
scsi: introduce a max_segment_size host_template parameters
authorChristoph Hellwig <hch@lst.de>
Thu, 13 Dec 2018 15:17:03 +0000 (16:17 +0100)
committerMartin K. Petersen <martin.petersen@oracle.com>
Wed, 19 Dec 2018 04:13:12 +0000 (23:13 -0500)
commit2efef403d215106bacf9e26b9540c6263146647b
tree94cdec8e5724b7fb66f0781bcf6a4360653b097e
parentf7bf98f22fc8f797f7cd1d19e607312745f6f5e4
scsi: introduce a max_segment_size host_template parameters

This allows the host driver to indicate the maximum supported
segment size in a nice an easy way, so that the driver doesn't
have to worry about DMA-layer imposed limitations.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Bart Van Assche <bvanassche@acm.org>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/be2iscsi/be_main.c
drivers/scsi/hosts.c
drivers/scsi/scsi_debug.c
drivers/scsi/scsi_lib.c
include/scsi/scsi_host.h