From: Phillip Chen Date: Wed, 24 Apr 2019 21:47:41 +0000 (-0600) Subject: zbd random read conventional zones X-Git-Tag: fio-3.14~13 X-Git-Url: https://git.kernel.dk/?p=fio.git;a=commitdiff_plain;h=7beafc2d9180959eb433eded9608df9757e464b1 zbd random read conventional zones Initialize conventional zone write pointers to full so zbd_find_zone will accept conventional zones when searching around a randomly chosen empty zone. Reviewed-by: Damien Le Moal Signed-off-by: Phillip Chen Signed-off-by: Jens Axboe --- diff --git a/zbd.c b/zbd.c index 1c46b452..d7e91e37 100644 --- a/zbd.c +++ b/zbd.c @@ -426,8 +426,6 @@ static int parse_zone_info(struct thread_data *td, struct fio_file *f) p->start = z->start << 9; switch (z->cond) { case BLK_ZONE_COND_NOT_WP: - p->wp = p->start; - break; case BLK_ZONE_COND_FULL: p->wp = p->start + zone_size; break;