Christoph Hellwig 693a1e8cbe scsi: core: Use the atomic queue limits API in scsi_add_lun()
Switch scsi_add_lun() to use the atomic queue limits API to update the
max_hw_sectors for devices with quirks.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Link: https://lore.kernel.org/r/20240409143748.980206-10-hch@lst.de
Reviewed-by: Bart Van Assche <bvanassche@acm.org>
Reviewed-by: John Garry <john.g.garry@oracle.com>
Reviewed-by: Damien Le Moal <dlemoal@kernel.org>
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>
2024-04-11 21:37:49 -04:00
..
2024-01-11 14:24:32 -08:00
2023-10-13 14:15:54 -04:00
2024-03-16 16:31:12 -07:00
2024-03-16 16:31:12 -07:00
2023-05-31 19:59:26 -04:00
2024-03-10 18:15:48 -04:00
2023-05-26 13:52:19 -07:00
2023-04-18 23:01:23 -04:00
2024-03-22 13:31:07 -07:00
2024-03-15 17:53:48 -07:00
2022-02-22 21:11:02 -05:00
2024-03-22 13:31:07 -07:00
2024-03-16 16:31:12 -07:00
2024-03-22 13:31:07 -07:00
2022-05-08 14:28:18 -04:00
2024-03-10 18:15:48 -04:00
2023-05-31 11:36:40 -04:00