linux-brain/drivers/staging/unisys
Ming Lei da5567369f scsi: staging: unisys: visorhba: use sg helper to iterate over scatterlist
Unlike the legacy I/O path, scsi-mq preallocates a large array to hold
the scatterlist for each request. This static allocation can consume
substantial amounts of memory on modern controllers which support a
large number of concurrently outstanding requests.

To facilitate a switch to a smaller static allocation combined with a
dynamic allocation for requests that need it, we need to make sure all
SCSI drivers handle chained scatterlists correctly.

Convert remaining drivers that directly dereference the scatterlist
array to using the iterator functions.

[mkp: clarified commit message]

Cc: devel@driverdev.osuosl.org
Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Acked-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Bart Van Assche <bvanassche@acm.org>
Signed-off-by: Ming Lei <ming.lei@redhat.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
2019-06-20 15:21:32 -04:00
..
Documentation staging: unisys: Switch to use new generic UUID API 2017-08-22 14:56:03 -07:00
include Staging: unisys: Correct malformed SPDX-License-Identifier 2019-03-20 10:43:49 +01:00
visorhba scsi: staging: unisys: visorhba: use sg helper to iterate over scatterlist 2019-06-20 15:21:32 -04:00
visorinput staging: add missing SPDX lines to Makefile files 2019-04-03 11:10:15 +02:00
visornic staging: add missing SPDX lines to Makefile files 2019-04-03 11:10:15 +02:00
Kconfig staging: add missing SPDX lines to Kconfig files 2019-04-03 11:10:15 +02:00
MAINTAINERS staging: unisys: Fix incorrect unisys MAINTAINERS pattern 2017-11-02 11:45:57 +01:00
Makefile staging: add missing SPDX lines to Makefile files 2019-04-03 11:10:15 +02:00
TODO staging: unisys: documentation and TODO tweaks 2015-09-12 18:24:43 -07:00