On Sat, May 16, 2020 at 09:13:50PM +0800, Coly Li wrote: > It is OK for me to set the zone_nr and zone size without calling > blk_revalidate_disk_zones(). Yes. And without having seen your code I'm pretty sure it should get simpler by not using blk_revalidate_disk_zones.