OSDN Git Service

scsi: core: add a host / host template field for the virt boundary
authorChristoph Hellwig <hch@lst.de>
Mon, 17 Jun 2019 12:19:53 +0000 (14:19 +0200)
committerMartin K. Petersen <martin.petersen@oracle.com>
Wed, 17 Jul 2019 03:01:49 +0000 (23:01 -0400)
commit7ad388d8e4c703980b7018b938cdeec58832d78d
tree26c50ab746ca4a8139179ee043beaa413ffe0558
parentf9b0530fa02e0c73f31a49ef743e8f44eb8e32cc
scsi: core: add a host / host template field for the virt boundary

This allows drivers setting it up easily instead of branching out to block
layer calls in slave_alloc, and ensures the upgraded max_segment_size
setting gets picked up by the DMA layer.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Acked-by: Kashyap Desai < kashyap.desai@broadcom.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/hosts.c
drivers/scsi/scsi_lib.c
include/scsi/scsi_host.h