Re: [PATCH v4 3/8] nullb: use blk_queue_set_zoned() to setup zoned devices

From
Chaitanya Kulkarni <hidden>
Date
2021-01-28 05:13:42
Also in
linux-nvme, linux-scsi
Reply to
Damien Le Moal, 2021-01-28
On 1/27/21 20:47, Damien Le Moal wrote:
Use blk_queue_set_zoned() to set a nullb device zone model instead of
directly assigning the device queue zoned limit. This initialization of
the devicve zoned model as well as the setup of the queue flag
QUEUE_FLAG_ZONE_RESETALL and of the device queue elevator feature are
moved from null_init_zoned_dev() to null_register_zoned_dev() so that
the initialization of the queue limits is done when the gendisk of the
nullb device is available.

Signed-off-by: Damien Le Moal <redacted>
Looks good.

Reviewed-by: Chaitanya Kulkarni <redacted>
Thread (36 messages) 36 messages, 5 authors, last reply 2021-02-10
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help