]> git.baikalelectronics.ru Git - kernel.git/commit
scsi: sd_zbc: Don't limit max_zone_append sectors to max_hw_sectors
authorJohannes Thumshirn <johannes.thumshirn@wdc.com>
Thu, 16 Jul 2020 09:16:06 +0000 (18:16 +0900)
committerMartin K. Petersen <martin.petersen@oracle.com>
Sat, 25 Jul 2020 02:09:53 +0000 (22:09 -0400)
commitf10995e6dd98bbba916164fac800688c25d87353
treec66085d7f931fd3c7374911ad8aa66e745f22840
parent3cc4049ef921c13f2353bd8deab58d1e6ecc85df
scsi: sd_zbc: Don't limit max_zone_append sectors to max_hw_sectors

Don't clamp the maximum number of zone append sectors to the maximum number
of hardware sectors in sd as the block layer is already enforcing this
limit when setting max_zone_append_sectors.

Link: https://lore.kernel.org/r/20200716091606.38316-1-johannes.thumshirn@wdc.com
Reviewed-by: Damien Le Moal <damien.lemoal@wdc.com>
Signed-off-by: Johannes Thumshirn <johannes.thumshirn@wdc.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/sd_zbc.c