# Re: \[PATCH v4 7/8\] block: introduce blk\_queue\_clear\_zone\_settings()

- From: Chaitanya Kulkarni \<hidden\>
- Date: 2021-01-28 05:27:22 
- List: linux-block
- Page: https://ratatoskr.run/linux-block/2021/01/6400589
- Thread: https://ratatoskr.run/linux-block/2021/01/6400577/t.md

```text
On 1/27/21 20:47, Damien Le Moal wrote:
> Introduce the internal function blk_queue_clear_zone_settings() to
> cleanup all limits and resources related to zoned block devices. This
> new function is called from blk_queue_set_zoned() when a disk zoned
> model is set to BLK_ZONED_NONE. This particular case can happens when a
> partition is created on a host-aware scsi disk.
>
> Signed-off-by: Damien Le Moal <redacted>
nit:- can be done at the time of applying the patch.
In the last line of the commit log :-

1. s/happens/happen/.
2. article 'a' on the same line with the noun 'partition'.

see it make sense otherwise ignore :-

Introduce the internal function blk_queue_clear_zone_settings() to
cleanup all limits and resources related to zoned block devices. This
new function is called from blk_queue_set_zoned() when a disk zoned
model is set to BLK_ZONED_NONE. This particular case can happen when
apartition is created on a host-aware scsi disk.

Either case LGTM,

Reviewed-by: Chaitanya Kulkarni <redacted>

```
