scsi: rename SCSI_MAX_{SG, SG_CHAIN}_SEGMENTS
authorMing Lin <ming.l@ssi.samsung.com>
Mon, 4 Apr 2016 21:48:10 +0000 (14:48 -0700)
committerMartin K. Petersen <martin.petersen@oracle.com>
Fri, 15 Apr 2016 20:53:14 +0000 (16:53 -0400)
commit65e8617fba17732b4c68d3369a621725838b6f28
treee9adae8498a721ad58c7917283076e3bdbd73a2b
parent001d63be61c3b5a0413a46bacafbfc60c353951a
scsi: rename SCSI_MAX_{SG, SG_CHAIN}_SEGMENTS

Rename SCSI_MAX_SG_SEGMENTS to SG_CHUNK_SIZE, which means the amount
we fit into a single scatterlist chunk.

Rename SCSI_MAX_SG_CHAIN_SEGMENTS to SG_MAX_SEGMENTS.

Will move these 2 generic definitions to scatterlist.h later.

Reviewed-by: Christoph Hellwig <hch@lst.de>
Acked-by: Bart Van Assche <bart.vanassche@sandisk.com> (for ib_srp changes)
Signed-off-by: Ming Lin <ming.l@ssi.samsung.com>
Acked-by: Tejun Heo <tj@kernel.org>
Reviewed-by: Sagi Grimberg <sagi@grimberg.me>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
14 files changed:
drivers/ata/pata_icside.c
drivers/infiniband/ulp/srp/ib_srp.c
drivers/scsi/arm/cumana_2.c
drivers/scsi/arm/eesox.c
drivers/scsi/arm/powertec.c
drivers/scsi/esas2r/esas2r_main.c
drivers/scsi/hisi_sas/hisi_sas.h
drivers/scsi/mpt3sas/mpt3sas_base.c
drivers/scsi/mpt3sas/mpt3sas_base.h
drivers/scsi/scsi_debug.c
drivers/scsi/scsi_lib.c
drivers/usb/storage/scsiglue.c
include/scsi/scsi.h
include/scsi/scsi_host.h