]> www.infradead.org Git - users/hch/block.git/commit
scsi: add a no_highmem flag to struct Scsi_Host
authorChristoph Hellwig <hch@lst.de>
Sat, 23 Mar 2024 23:26:23 +0000 (07:26 +0800)
committerChristoph Hellwig <hch@lst.de>
Tue, 9 Apr 2024 05:37:13 +0000 (07:37 +0200)
commit13c2f93f4ae4f18c141480ceb3ff341b137b874c
tree6a5bf2ba86ef04b9b05ada3535745f231938fdbf
parent8de4c30a4278eae93729b780f769c362fbec1936
scsi: add a no_highmem flag to struct Scsi_Host

While we really should be killing the block layer bounce buffering ASAP,
I even more urgently need to stop the drivers to fiddle with the limits
from ->slave_configure.  Add a no_highmem flag to the Scsi_Host to
centralize this setting and switch the remaining four drivers that use
block layer bounce buffering to it.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Bart Van Assche <bvanassche@acm.org>
Reviewed-by: Damien Le Moal <dlemoal@kernel.org>
Reviewed-by: John Garry <john.g.garry@oracle.com>
Reviewed-by: Hannes Reinecke <hare@suse.de>
drivers/scsi/aha152x.c
drivers/scsi/imm.c
drivers/scsi/ppa.c
drivers/scsi/scsi_lib.c
drivers/usb/storage/scsiglue.c
drivers/usb/storage/usb.c
include/scsi/scsi_host.h