Bump support of zones to 256 max
authorJens Axboe <axboe@kernel.dk>
Thu, 30 Nov 2017 23:47:27 +0000 (16:47 -0700)
committerJens Axboe <axboe@kernel.dk>
Thu, 30 Nov 2017 23:47:27 +0000 (16:47 -0700)
This moves it from 64 to 256.

Signed-off-by: Jens Axboe <axboe@kernel.dk>
libfio.c
thread_options.h

index c9bb8f3f1e5494aa91b40e9566dab12a74aa6a7d..74de7351a9a8244db061e5511d9f28d6bd826641 100644 (file)
--- 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) {
index 353230055fb473ddb03a7f12b1f84cb966fce946..a9c3beec3a16d8eed9e984cff43f75156e5c0b9f 100644 (file)
@@ -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;