diff options
author | 2024-04-09 16:37:42 +0200 | |
---|---|---|
committer | 2024-04-11 21:37:49 -0400 | |
commit | 70a7949335e5f6f2095f918214f4d2c521db78a9 (patch) | |
tree | f7faf90a34591ee99c25f43c3ef7f9d6049145c4 /drivers/ata/pata_cmd640.c | |
parent | scsi: pmcraid: Switch to using ->device_configure (diff) | |
download | linux-70a7949335e5f6f2095f918214f4d2c521db78a9.tar.gz linux-70a7949335e5f6f2095f918214f4d2c521db78a9.tar.bz2 linux-70a7949335e5f6f2095f918214f4d2c521db78a9.zip |
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/pata_cmd640.c')
0 files changed, 0 insertions, 0 deletions