Recent changes (master)
The following changes since commit 2e4ef4fbd69eb6d4c07f2f362463e3f3df2e808c:
engines: fixup fio_q_status style violations (2018-04-20 09:46:19 -0600)
are available in the git repository at:
git://git.kernel.dk/fio.git master
for you to fetch changes up to ca0a0b521e8650ed736246c00092094a4d5c9829:
t/*: missing statics (2018-04-24 14:03:34 -0600)
----------------------------------------------------------------
Jens Axboe (3):
configure: use proper CONFIG_ prefix for asprintf/vasprintf engines/libaio: don't sleep for 0 reap return for 0 event check t/*: missing statics
configure | 4 ++-- engines/libaio.c | 3 ++- oslib/asprintf.c | 4 ++-- oslib/asprintf.h | 4 ++-- t/lfsr-test.c | 2 +- t/stest.c | 2 +- 6 files changed, 10 insertions(+), 9 deletions(-)
---
Diff of recent changes:
configure +2 -2
@@ -2218,10 +2218,10 @@ if test "$posix_pshared" = "yes" ; then output_sym "CONFIG_PSHARED" fi if test "$have_asprintf" = "yes" ; then - output_sym "HAVE_ASPRINTF" + output_sym "CONFIG_HAVE_ASPRINTF" fi if test "$have_vasprintf" = "yes" ; then - output_sym "HAVE_VASPRINTF" + output_sym "CONFIG_HAVE_VASPRINTF" fi if test "$linux_fallocate" = "yes" ; then output_sym "CONFIG_LINUX_FALLOCATE"
engines/libaio.c +2 -1
@@ -169,7 +169,8 @@ static int fio_libaio_getevents(struct thread_data *td, unsigned int min, events += r; else if ((min && r == 0) || r == -EAGAIN) {fio_libaio_commit (td); -usleep (100 ); +if (actual_min) +usleep (10 ); } else if (r != -EINTR) break; }while (events < min);
oslib/asprintf.c +2 -2
@@ -3,7 +3,7 @@#include <stdlib.h> #include "oslib/asprintf.h" -#ifndef HAVE_VASPRINTF +#ifndef CONFIG_HAVE_VASPRINTF int vasprintf (char **strp,const char *fmt,va_list ap) {va_list ap_copy;
@@ -28,7 +28,7 @@ int vasprintf(char **strp, const char *fmt, va_list ap) }#endif -#ifndef HAVE_ASPRINTF +#ifndef CONFIG_HAVE_ASPRINTF int asprintf (char **strp,const char *fmt, ...) {va_list arg;
oslib/asprintf.h +2 -2
@@ -1,10 +1,10 @@#ifndef FIO_ASPRINTF_H #define FIO_ASPRINTF_H -#ifndef HAVE_VASPRINTF +#ifndef CONFIG_HAVE_VASPRINTF int vasprintf (char **strp,const char *fmt,va_list ap);#endif -#ifndef HAVE_ASPRINTF +#ifndef CONFIG_HAVE_ASPRINTF int asprintf (char **strp,const char *fmt, ...);#endif
t/lfsr-test.c +1 -1
@@ -7,7 +7,7 @@#include "../gettime.h" #include "../fio_time.h" -void usage () +static void usage (void ) {printf ("Usage: lfsr-test 0x<numbers> [seed] [spin] [verify]\n" );printf ("-------------------------------------------------------------\n" );
t/stest.c +1 -1
@@ -18,7 +18,7 @@ struct elem {unsigned int magic2; }; -FLIST_HEAD (list); +static FLIST_HEAD (list);static int do_rand_allocs (void ) {