summaryrefslogtreecommitdiff
path: root/engines/libzbc.c
diff options
context:
space:
mode:
authorYigal Korman <ykorman@gmail.com>2020-07-03 15:38:42 +0300
committerJens Axboe <axboe@kernel.dk>2020-07-03 08:28:28 -0600
commit5a8a6a0343b42d087fa7b65ae884985d0f183c8b (patch)
tree78cc2435dde48467f6b6dcb2793738a936b16d94 /engines/libzbc.c
parent439c45afa8c1a47edb1cd928be692b9e0ba7728a (diff)
downloadfio-5a8a6a0343b42d087fa7b65ae884985d0f183c8b.tar.gz
fio-5a8a6a0343b42d087fa7b65ae884985d0f183c8b.tar.bz2
configure: new --dynamic-libengines build option
When enabled, some of the more dependency-heavy internal engines are converted to "plugin" engines, i.e. they are built into separate object files and are loaded by fio on demand. This helps downstream distros package these engines separately and not force a long list of package dependencies from the base fio package. Signed-off-by: Yigal Korman <ykorman@gmail.com> Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'engines/libzbc.c')
-rw-r--r--engines/libzbc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/libzbc.c b/engines/libzbc.c
index 9e568334..fdde8ca6 100644
--- a/engines/libzbc.c
+++ b/engines/libzbc.c
@@ -397,7 +397,7 @@ static enum fio_q_status libzbc_queue(struct thread_data *td, struct io_u *io_u)
return FIO_Q_COMPLETED;
}
-static struct ioengine_ops ioengine = {
+FIO_STATIC struct ioengine_ops ioengine = {
.name = "libzbc",
.version = FIO_IOOPS_VERSION,
.open_file = libzbc_open_file,