[PATCH v6 12/28] dm: Use the block layer zone append emulation

Damien Le Moal dlemoal at kernel.org
Sun Apr 7 18:26:08 PDT 2024


On 4/6/24 00:46, Mike Snitzer wrote:
>> diff --git a/drivers/md/dm-zone.c b/drivers/md/dm-zone.c
>> index eb9832b22b14..174fda0a301c 100644
>> --- a/drivers/md/dm-zone.c
>> +++ b/drivers/md/dm-zone.c
>> @@ -226,41 +154,32 @@ static int dm_zone_revalidate_cb(struct blk_zone *zone, unsigned int idx,
>>  static int dm_revalidate_zones(struct mapped_device *md, struct dm_table *t)
>>  {
>>  	struct gendisk *disk = md->disk;
>> -	unsigned int noio_flag;
>>  	int ret;
>>  
>> -	/*
>> -	 * Check if something changed. If yes, cleanup the current resources
>> -	 * and reallocate everything.
>> -	 */
>> +	/* Revalidate ionly if something changed. */
> 
> Just noticed this ionly typo ^ Please fix.

Good catch. Thanks. Fixed it. Also fixed a tab that became spaces in the
declaration of dm_blk_report_zones() in drivers/md/dm.h.


-- 
Damien Le Moal
Western Digital Research




More information about the Linux-nvme mailing list