summaryrefslogtreecommitdiff
path: root/cconv.c
diff options
context:
space:
mode:
authorJens Axboe <axboe@fb.com>2015-12-08 15:45:12 -0700
committerJens Axboe <axboe@fb.com>2015-12-08 15:45:12 -0700
commitc08f9fe23b0f257f914b2d9e0e4f1117418e5da6 (patch)
treee29b98bf38757e0a728825baef9d3d416086de59 /cconv.c
parent466155e20156a886abc9ca48bb413af69e23a2db (diff)
options: add log_compression_cpus option
We generally don't want online log compression to interfere with the IO jobs. Add an option that allows us to contain the log compression to a specific CPU, or set of CPUs. Signed-off-by: Jens Axboe <axboe@fb.com>
Diffstat (limited to 'cconv.c')
-rw-r--r--cconv.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/cconv.c b/cconv.c
index c309578..c0168c4 100644
--- a/cconv.c
+++ b/cconv.c
@@ -261,6 +261,7 @@ void convert_thread_options_to_cpu(struct thread_options *o,
#if 0
uint8_t cpumask[FIO_TOP_STR_MAX];
uint8_t verify_cpumask[FIO_TOP_STR_MAX];
+ uint8_t log_gz_cpumask[FIO_TOP_STR_MAX];
#endif
}
@@ -482,6 +483,7 @@ void convert_thread_options_to_net(struct thread_options_pack *top,
#if 0
uint8_t cpumask[FIO_TOP_STR_MAX];
uint8_t verify_cpumask[FIO_TOP_STR_MAX];
+ uint8_t log_gz_cpumask[FIO_TOP_STR_MAX];
#endif
}