list all available dynamic ioengines with --enghelp
authorEric Sandeen <sandeen@redhat.com>
Mon, 9 Nov 2020 16:46:30 +0000 (10:46 -0600)
committerJens Axboe <axboe@kernel.dk>
Mon, 9 Nov 2020 16:49:04 +0000 (09:49 -0700)
commit35300d5fbbef6cf108882c8f1e403846a6371a2a
tree1ae5e25eb546ecab1ec00bfb9b91b9b0060161e6
parent25b9b58e5f80c235bf125302624cfced4e7e198f
list all available dynamic ioengines with --enghelp

When dynamic engines are enabled, "fio --enghelp" does not list all
available engines as the man page says it will:

If no ioengine is given, list all available ioengines.

Fix this by opening FIO_EXT_ENG_DIR and attempting dlopen_ioengine
everything that's found there.

Signed-off-by: Eric Sandeen <sandeen@redhat.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
ioengines.c