]> www.infradead.org Git - users/hch/block.git/commit
scsi: use the atomic queue limits API in scsi_add_lun
authorChristoph Hellwig <hch@lst.de>
Sat, 23 Mar 2024 23:30:28 +0000 (07:30 +0800)
committerChristoph Hellwig <hch@lst.de>
Tue, 9 Apr 2024 05:37:15 +0000 (07:37 +0200)
commit7eea5e9c5a84f971c1d8b076f2b2d1e58b8d7b4d
tree100f8a7652c0c070f227a0204bded104fafb5d1b
parent96e65a004e80153518996a0bdde2c89f47cc96fc
scsi: 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>
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>
drivers/scsi/scsi_scan.c