[LTP] [PATCH v5] Refactoring dio_sparse.c using LTP API
Cyril Hrubis
chrubis@suse.cz
Fri Dec 10 15:41:24 CET 2021
Hi!
Pushed with two minor changes, thanks.
> +static struct tst_option options[] = {
> + {"n:", &str_numchildren, "Number of threads (default 1000)"},
> + {"w:", &str_writesize, "Size of writing blocks (default 1K)"},
> + {"s:", &str_filesize, "Size of file (default 100M)"},
> + {"o:", &str_offset, "File offset (default 0)"},
> + {}
> +};
I've moved this structure to be inline in tst_test initialization, since
otherwise our parser cannot pick it up.
I guess that we should fix that in the API documentation as well.
+ added a paragraph to the test commit message why the -a parameter has
been removed
--
Cyril Hrubis
chrubis@suse.cz
More information about the ltp
mailing list