summaryrefslogtreecommitdiff
path: root/m4
diff options
context:
space:
mode:
authorZorro Lang <zlang@redhat.com>2020-09-11 15:15:51 +0800
committerEryu Guan <guaneryu@gmail.com>2020-09-27 17:31:10 +0800
commit57a18fcb244cc671764f95eba74ec59c47f5c720 (patch)
tree72f6eba5ecf1fb86cccce4f9b232302e0956a204 /m4
parent35630aee947607bf725a034271ef6ddd9c3ec21d (diff)
fsstress: add IO_URING read and write operations
IO_URING is a new feature of curent linux kernel, add basic IO_URING read/write into fsstess to cover this kind of IO testing. Signed-off-by: Zorro Lang <zlang@redhat.com> Reviewed-by: Brian Foster <bfoster@redhat.com> Signed-off-by: Eryu Guan <guaneryu@gmail.com>
Diffstat (limited to 'm4')
-rw-r--r--m4/Makefile1
-rw-r--r--m4/package_liburing.m44
2 files changed, 5 insertions, 0 deletions
diff --git a/m4/Makefile b/m4/Makefile
index 7fbff822..0352534d 100644
--- a/m4/Makefile
+++ b/m4/Makefile
@@ -14,6 +14,7 @@ LSRCFILES = \
package_dmapidev.m4 \
package_globals.m4 \
package_libcdev.m4 \
+ package_liburing.m4 \
package_ncurses.m4 \
package_pthread.m4 \
package_ssldev.m4 \
diff --git a/m4/package_liburing.m4 b/m4/package_liburing.m4
new file mode 100644
index 00000000..c92cc02a
--- /dev/null
+++ b/m4/package_liburing.m4
@@ -0,0 +1,4 @@
+AC_DEFUN([AC_PACKAGE_WANT_URING],
+ [ AC_CHECK_HEADERS(liburing.h, [ have_uring=true ], [ have_uring=false ])
+ AC_SUBST(have_uring)
+ ])