On 2/10/20 2:08 PM, Alexey Dobriyan wrote:
- return (get_capacity(disk) + zone_sectors - 1) >> ilog2(zone_sectors); + return div64_u64(get_capacity(disk) + zone_sectors - 1, zone_sectors);
This kind of change impacts the performance negatively of ZNS devices for which the zone size is a power of two. I don't think it's fair to make others pay a price for a feature that is only needed for one single device.
Bart.