Bug#811404: aio support has been lost

2016-01-19 Thread Harald Dunkel
Something like the attached patch is necessary, too (at least on amd64).

Hope this helps
Harri

Index: tgt-1.0.62/usr/Makefile
===
--- tgt-1.0.62.orig/usr/Makefile
+++ tgt-1.0.62/usr/Makefile
@@ -25,7 +25,7 @@ ifneq ($(SD_NOTIFY),)
 CFLAGS += -DUSE_SYSTEMD
 endif
 
-ifneq ($(shell test -e /usr/include/sys/eventfd.h && test -e /usr/include/libaio.h && echo 1),)
+ifneq ($(shell test -e /usr/include/libaio.h && echo 1),)
 CFLAGS += -DUSE_EVENTFD
 TGTD_OBJS += bs_aio.o
 LIBS += -laio


Bug#811404: aio support has been lost

2016-01-18 Thread Harald Dunkel
Package: tgt
Version: 1:1.0.51-1

Is there a particular reason why tgt was built without aio
support? Adding "libaio-dev" to the build dependencies should
do the trick (unverified).

Use
tgtadm --lld iscsi --op show --mode system

to show.

Please note that according to the man page aio support has to
be explicitly enabled, even when tgt has been built with libaio.


Regards
Harri