X-Git-Url: https://git.kernel.dk/?a=blobdiff_plain;f=engines%2Flibhdfs.c;h=6000160129402472385da53b478229b123db82b2;hb=c3e028cacfc9a3f463d572fc3a7a52fc1fe37bef;hp=fba17c4fcbc1033767e6afcc8981852fc50f6cdc;hpb=c1f9846dca7df2bfd37f0279092a5887913bf342;p=fio.git diff --git a/engines/libhdfs.c b/engines/libhdfs.c index fba17c4f..60001601 100644 --- a/engines/libhdfs.c +++ b/engines/libhdfs.c @@ -80,7 +80,9 @@ static struct fio_option options[] = { .group = FIO_OPT_G_HDFS, }, { - .name = "chunck_size", + .name = "chunk_size", + .alias = "chunck_size", + .lname = "Chunk size", .type = FIO_OPT_INT, .off1 = offsetof(struct hdfsio_options, chunck_size), .def = "1048576", @@ -90,6 +92,7 @@ static struct fio_option options[] = { }, { .name = "single_instance", + .lname = "Single Instance", .type = FIO_OPT_BOOL, .off1 = offsetof(struct hdfsio_options, single_instance), .def = "1", @@ -99,6 +102,7 @@ static struct fio_option options[] = { }, { .name = "hdfs_use_direct", + .lname = "HDFS Use Direct", .type = FIO_OPT_BOOL, .off1 = offsetof(struct hdfsio_options, use_direct), .def = "0", @@ -161,7 +165,8 @@ static int fio_hdfsio_prep(struct thread_data *td, struct io_u *io_u) return 0; } -static int fio_hdfsio_queue(struct thread_data *td, struct io_u *io_u) +static enum fio_q_status fio_hdfsio_queue(struct thread_data *td, + struct io_u *io_u) { struct hdfsio_data *hd = td->io_ops_data; struct hdfsio_options *options = td->eo;