[PATCH] zbd random read conventional zones

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



From: Phillip Chen <phillip.a.chen@xxxxxxxxxxx>

Signed-off-by: Phillip Chen <phillip.a.chen@xxxxxxxxxxx>
Initialize conventional zone write pointers to full so
zbd_find_zone will accept conventional zones when searching
around a randomly chosen empty zone.

---
 zbd.c | 2 --
 1 file changed, 2 deletions(-)

diff --git a/zbd.c b/zbd.c
index 2da742b7..616c3e0e 100644
--- a/zbd.c
+++ b/zbd.c
@@ -418,8 +418,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.21.0




[Index of Archives]     [Linux Kernel]     [Linux SCSI]     [Linux IDE]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux SCSI]

  Powered by Linux