On Mon, 29 May 2023 16:32:37 +0900, Damien Le Moal wrote: > The scsi driver function sd_read_block_characteristics() always calls > disk_set_zoned() to a disk zoned model correctly, in case the device > model changed. This is done even for regular disks to set the zoned > model to BLK_ZONED_NONE and free any zone related resources if the drive > previously was zoned. > > This behavior significantly impact the time it takes to revalidate disks > on a large system as the call to disk_clear_zone_settings() done from > disk_set_zoned() for the BLK_ZONED_NONE case results in the device > request queued to be frozen, even if there are no zone resources to > free. > > [...] Applied, thanks! [1/1] block: fix revalidate performance regression commit: 47fe1c3064c6bc1bfa3c032ff78e603e5dd6e5bc Best regards, -- Jens Axboe