diff options
author | Christoph Hellwig <hch@lst.de> | 2024-04-09 16:37:34 +0200 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2024-04-12 03:37:49 +0200 |
commit | 693a1e8cbe121bcef3331152259216bc397b6db6 (patch) | |
tree | a3a9f7e5e069ba26330163336430af011b650423 /include/scsi | |
parent | scsi: ufs: ufs-exynos: Move setting the the DMA alignment to the init method (diff) | |
download | linux-693a1e8cbe121bcef3331152259216bc397b6db6.tar.xz linux-693a1e8cbe121bcef3331152259216bc397b6db6.zip |
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>
Diffstat (limited to 'include/scsi')
0 files changed, 0 insertions, 0 deletions