16 bytes may not be large enough in the future if a new I/O engine with a name longer than strlen(name)=15 is added. The longest one right now seems to be "fusion-aw-sync" which is 14(+1). Signed-off-by: Tomohiro Kusumi <kusumi.tomohiro@xxxxxxxxx> --- ioengines.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/ioengines.c b/ioengines.c index f7b5ed6..4129ac2 100644 --- a/ioengines.c +++ b/ioengines.c @@ -126,7 +126,7 @@ static struct ioengine_ops *dlopen_ioengine(struct thread_data *td, struct ioengine_ops *load_ioengine(struct thread_data *td, const char *name) { struct ioengine_ops *ops; - char engine[16]; + char engine[64]; dprint(FD_IO, "load ioengine %s\n", name); -- 1.7.1 -- To unsubscribe from this list: send the line "unsubscribe fio" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html