From: Jens Axboe Date: Thu, 30 Nov 2017 23:47:27 +0000 (-0700) Subject: Bump support of zones to 256 max X-Git-Tag: fio-3.3~40 X-Git-Url: https://git.kernel.dk/?p=fio.git;a=commitdiff_plain;h=3154f1ed3e8c42f9fc68b2e58451812ba09a8c43;ds=sidebyside Bump support of zones to 256 max This moves it from 64 to 256. Signed-off-by: Jens Axboe --- 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;