summaryrefslogtreecommitdiff
path: root/drivers/ata/sata_nv.c
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2024-04-09 17:37:42 +0300
committerMartin K. Petersen <martin.petersen@oracle.com>2024-04-12 04:37:49 +0300
commit70a7949335e5f6f2095f918214f4d2c521db78a9 (patch)
treef7faf90a34591ee99c25f43c3ef7f9d6049145c4 /drivers/ata/sata_nv.c
parent9ca2dc2f0701267c10db68470bbbb1df6c268f6c (diff)
downloadlinux-70a7949335e5f6f2095f918214f4d2c521db78a9.tar.xz
scsi: usb-storage: Switch to using ->device_configure
Switch to the ->device_configure method instead of ->slave_configure and update the block limits on the passed in queue_limits instead of using the per-limit accessors. Also use the proper atomic queue limit update helpers and freeze the queue when updating max_hw_sectors from sysfs. Signed-off-by: Christoph Hellwig <hch@lst.de> Link: https://lore.kernel.org/r/20240409143748.980206-18-hch@lst.de 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 'drivers/ata/sata_nv.c')
0 files changed, 0 insertions, 0 deletions