Re: [PATCH 0/2] null_blk: zone support

From: Jens Axboe
Date: Mon Jul 09 2018 - 12:34:34 EST


On 7/9/18 1:54 AM, Matias BjÃrling wrote:
> For fio, you can use the zone support here:
>
> https://github.com/bvanassche/fio
>
> It is in the process of being upstreamed.

In the spirit of making some progress on this, I just don't like how
it's done. For example, it should not be necessary to adjust what
comes out of the block generator, instead the block generator should
be told to do what we need on zbc. This is a key concept. The workload
should be defined as such that it works for zoned devices.

The trim as zone resets seems odd. What happens if you end up with a
zoned flash device in the future?

The support code looks fine.

--
Jens Axboe