]> 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)
commitf3e0889398be33e13266721bf81c7401504dc0c9
treec66085d7f931fd3c7374911ad8aa66e745f22840
parent554659d377197fcb7d5f3a92c3c37ac9314d5afc
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