From 0ba9503f793647bfd967da8083a2adf56621307c Mon Sep 17 00:00:00 2001 From: Jens Axboe Date: Mon, 13 May 2019 16:16:07 -0600 Subject: Add link SQE support Just a basic test case that does various forms of linked nops, and a sample bare bones copy program using linked reads and writes. Signed-off-by: Jens Axboe --- test/Makefile | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'test/Makefile') diff --git a/test/Makefile b/test/Makefile index 7866047..e4fe57d 100644 --- a/test/Makefile +++ b/test/Makefile @@ -2,14 +2,14 @@ CFLAGS ?= -g -O2 -Wall -D_GNU_SOURCE -L../src/ all_targets += poll poll-cancel ring-leak fsync io_uring_setup io_uring_register \ io_uring_enter nop sq-full cq-full 35fa71a030ca-test \ - 917257daa0fe-test b19062a56726-test eeed8b54e0df-test + 917257daa0fe-test b19062a56726-test eeed8b54e0df-test link all: $(all_targets) test_srcs := poll.c poll-cancel.c ring-leak.c fsync.c io_uring_setup.c \ io_uring_register.c io_uring_enter.c nop.c sq-full.c cq-full.c \ 35fa71a030ca-test.c 917257daa0fe-test.c b19062a56726-test.c \ - eeed8b54e0df-test + eeed8b54e0df-test link test_objs := $(patsubst %.c,%.ol,$(test_srcs)) @@ -41,6 +41,8 @@ b19062a56726-test: b19062a56726-test.c $(CC) $(CFLAGS) -o $@ b19062a56726-test.c eeed8b54e0df-test: eeed8b54e0df-test.c $(CC) $(CFLAGS) -o $@ eeed8b54e0df-test.c -luring +link: link.c + $(CC) $(CFLAGS) -o $@ link.c -luring clean: rm -f $(all_targets) $(test_objs) -- cgit