]> 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)
commit257c65268ed8a42091ec900b0ae3ee6fb5a9d0d6
tree94cdec8e5724b7fb66f0781bcf6a4360653b097e
parent59f19d6b27e7f8be394a5c2114811ccc0d583621
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