From 3154f1ed3e8c42f9fc68b2e58451812ba09a8c43 Mon Sep 17 00:00:00 2001 From: Jens Axboe Date: Thu, 30 Nov 2017 16:47:27 -0700 Subject: [PATCH] Bump support of zones to 256 max This moves it from 64 to 256. Signed-off-by: Jens Axboe --- libfio.c | 2 +- thread_options.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/libfio.c b/libfio.c index c9bb8f3f..74de7351 100644 --- a/libfio.c +++ b/libfio.c @@ -366,7 +366,7 @@ int initialize_fio(char *envp[]) compiletime_assert((offsetof(struct jobs_eta, m_rate) % 8) == 0, "m_rate"); compiletime_assert(__TD_F_LAST <= TD_ENG_FLAG_SHIFT, "TD_ENG_FLAG_SHIFT"); - compiletime_assert(BSSPLIT_MAX == ZONESPLIT_MAX, "bsssplit/zone max"); + compiletime_assert(BSSPLIT_MAX <= ZONESPLIT_MAX, "bsssplit/zone max"); err = endian_check(); if (err) { diff --git a/thread_options.h b/thread_options.h index 35323005..a9c3beec 100644 --- a/thread_options.h +++ b/thread_options.h @@ -26,7 +26,7 @@ enum fio_memtype { #define ERROR_STR_MAX 128 #define BSSPLIT_MAX 64 -#define ZONESPLIT_MAX 64 +#define ZONESPLIT_MAX 256 struct bssplit { uint32_t bs; -- 2.25.1