Merge branch 'gpspm-add-optional-use-rpma_conn_completion_wait-function' of https...
authorJens Axboe <axboe@kernel.dk>
Fri, 23 Apr 2021 14:39:21 +0000 (08:39 -0600)
committerJens Axboe <axboe@kernel.dk>
Fri, 23 Apr 2021 14:39:21 +0000 (08:39 -0600)
* 'gpspm-add-optional-use-rpma_conn_completion_wait-function' of https://github.com/ldorau/fio:
  rpma: gpspm: introduce the busy_wait_polling toggle

init.c

diff --git a/init.c b/init.c
index 37bff8763cbb5bf924f3a3fc768f3352fbe10cf6..60c7cff405d70d8e974545026e2fe659b512b7ed 100644 (file)
--- a/init.c
+++ b/init.c
@@ -633,6 +633,11 @@ static int fixup_options(struct thread_data *td)
                ret |= 1;
        }
 
+       if (o->zone_mode == ZONE_MODE_ZBD && !o->create_serialize) {
+               log_err("fio: --zonemode=zbd and --create_serialize=0 are not compatible.\n");
+               ret |= 1;
+       }
+
        if (o->zone_mode == ZONE_MODE_STRIDED && !o->zone_size) {
                log_err("fio: --zonesize must be specified when using --zonemode=strided.\n");
                ret |= 1;