linux-stable/drivers/scsi/pcmcia
Ming Lei 1b3a464010 scsi: pcmcia: nsp_cs: 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]

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:33 -04:00
..
aha152x_core.c scsi: aha152x: rename the PCMCIA define 2018-11-02 00:15:23 +09:00
aha152x_stub.c pcmcia: Use module_pcmcia_driver for scsi drivers 2018-10-01 12:15:21 +02:00
Kconfig scsi: remove the fdomain and fdomain_cs drivers 2018-03-19 22:54:47 -04:00
Makefile scsi: prefix header search paths with $(srctree)/ 2019-01-29 01:22:51 -05:00
nsp_cs.c scsi: pcmcia: nsp_cs: use sg helper to iterate over scatterlist 2019-06-20 15:21:33 -04:00
nsp_cs.h pcmcia: Use module_pcmcia_driver for scsi drivers 2018-10-01 12:15:21 +02:00
nsp_debug.c
nsp_io.h
nsp_message.c
qlogic_stub.c scsi: remove the use_clustering flag 2018-12-18 23:19:21 -05:00
sym53c500_cs.c scsi: flip the default on use_clustering 2018-12-18 23:13:12 -05:00