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)
commitb9245385f73c11c908e0f652b7c5b9bda3b36374
treec66085d7f931fd3c7374911ad8aa66e745f22840
parent42b840bcfc16520f44b1ff51132ea720f86cb7ab
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