From 7beafc2d9180959eb433eded9608df9757e464b1 Mon Sep 17 00:00:00 2001 From: Phillip Chen Date: Wed, 24 Apr 2019 15:47:41 -0600 Subject: [PATCH] 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 --- zbd.c | 2 -- 1 file changed, 2 deletions(-) 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; -- 2.25.1