From: Jens Axboe Date: Tue, 8 Dec 2015 22:31:22 +0000 (-0700) Subject: options: check for dryrun in cpu mask setting X-Git-Tag: fio-2.2.13~14 X-Git-Url: https://git.kernel.dk/?a=commitdiff_plain;h=466155e20156a886abc9ca48bb413af69e23a2db;p=fio.git options: check for dryrun in cpu mask setting Signed-off-by: Jens Axboe --- diff --git a/options.c b/options.c index 1886b23c..bcddbf14 100644 --- a/options.c +++ b/options.c @@ -530,6 +530,9 @@ static int str_verify_cpus_allowed_cb(void *data, const char *input) { struct thread_data *td = data; + if (parse_dryrun()) + return 0; + return set_cpus_allowed(td, &td->o.verify_cpumask, input); } #endif