scsi: core: Add a no_highmem flag to struct Scsi_Host
authorChristoph Hellwig <hch@lst.de>
Tue, 9 Apr 2024 14:37:31 +0000 (16:37 +0200)
committerMartin K. Petersen <martin.petersen@oracle.com>
Fri, 12 Apr 2024 01:37:48 +0000 (21:37 -0400)
commit6248d7f7714f018f2c02f356582784e74596f8e8
tree3ed59a406d61d664e516b9709ce3f86aeb4d5b49
parent7eaae991c30d46a4ea45aa00f50eba939d7f951b
scsi: core: 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>
Link: https://lore.kernel.org/r/20240409143748.980206-7-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>
Reviewed-by: Johannes Thumshirn <johannes.thumshirn@wdc.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
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