On 6/13/22 18:12, Sam Li wrote:
[...]
>>> +};
>>> +
>>> +/**
>>> + * Zone device information data structure.
>>> + * Provide information on a device.
>>> + */
>>> +typedef struct zbd_dev {
>>> +enum zone_model model;
>>> +uint32_t block_size;
>>> +uint32_t write_granularity;
>>> +ui
Damien Le Moal 于2022年6月13日周一 14:24写道:
>
> On 6/13/22 13:09, Sam Li wrote:
> > By adding zone management operations in BlockDriver, storage
> > controller emulation can use the new block layer APIs including
> > zone_report, zone_reset, zone_open, zone_close, and zone_finish.
>
> Like a real review
On 6/13/22 13:09, Sam Li wrote:
> By adding zone management operations in BlockDriver, storage
> controller emulation can use the new block layer APIs including
> zone_report, zone_reset, zone_open, zone_close, and zone_finish.
Like a real review, commenting inline below.
>
> Signed-off-by: Sam
By adding zone management operations in BlockDriver, storage
controller emulation can use the new block layer APIs including
zone_report, zone_reset, zone_open, zone_close, and zone_finish.
Signed-off-by: Sam Li
---
block/block-backend.c | 20
block/coroutines.h