On Fri, Jan 22, 2021 at 08:56:58AM +0000, Damien Le Moal wrote: > > This looks a little strange. If we special case zoned vs not zoned > > here anyway, why not set the zone_write_granularity to the logical > > block size here by default. > > The convention is zone_write_granularity == 0 for the BLK_ZONED_NONE case. Hence > the reset here if we force the zoned model to none for HA drives. This way, this > does not create a special case for HA drives used as regular disks. Just inititialize it for all cases if you initialize it for some here. That way everyone but sd already gets a right default and life becomes simpler.