You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@trafficserver.apache.org by "John Plevyak (JIRA)" <ji...@apache.org> on 2009/12/02 17:50:20 UTC

[jira] Commented: (TS-35) require linux/inkaio.h to build --enable-diskinkaio

    [ https://issues.apache.org/jira/browse/TS-35?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12784892#action_12784892 ] 

John Plevyak commented on TS-35:
--------------------------------

This was a linux specific module for kevents-style events including support for disk aio.
I vaguely remember that it worked, but there was no compelling performance
difference so it was never used in production. If that is the case at Yahoo, I would say
that this option and the code should be ripped out as the linux module is surely out of
date and probably not worth reworking for an experiment.  It would also likely require
lots of support and have portability issues.

> require linux/inkaio.h to build --enable-diskinkaio
> ---------------------------------------------------
>
>                 Key: TS-35
>                 URL: https://issues.apache.org/jira/browse/TS-35
>             Project: Traffic Server
>          Issue Type: Bug
>          Components: Core
>         Environment: x86_64 i686  gentoo gcc-4.4.2
>            Reporter: Zhao Yongming
>
> I have configure with --enable-diskinkaio, but failed build on :
> make[2]: Entering directory `/var/tmp/portage/www-servers/trafficserver-999/work/trafficserver-999/iocore/aio'
> ccache g++ -DPACKAGE_NAME=\"Traffic\ Server\" -DPACKAGE_TARNAME=\"trafficserver\" -DPACKAGE_VERSION=\"2.0.0\" -DPACKAGE_STRING=\"Traffic\ Server\ 2.0.0\" -DPACKAGE_BUGREPORT=\"trafficserver-dev@incubator.apache.org\" -DPACKAGE=\"trafficserver\" -DVERSION=\"2.0.0\" -DHOST_OS=linux -DBUILD_PERSON=\"root\" -DBUILD_MACHINE=\"zymtest1\" -DPURIFY=1 -DINKDISKAIO=1 -DMODULARIZED=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DSIZEOF_INT_P=8 -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE=1 -D_REENTRANT=1 -DHAVE_LIBSSL=1 -DHTTP_CACHE=1 -DFIXME_NONMODULAR -DSPLIT_DNS -DNON_MODULAR -DHTTP_CACHE -I.  -I../../iocore/eventsystem -I../../librecords -I../../libinktomi++ -I/usr/include  -g -pipe -Wall -Werror -Wno-char-subscripts -Wno-write-strings -O3 -feliminate-unused-debug-symbols -fno-strict-aliasing -Wno-invalid-offsetof -O2 -pipe -MT AIO.o -MD -MP -MF .deps/AIO.Tpo -c -o AIO.o AIO.cc
> In file included from P_AIO.h:125,
>                  from AIO.cc:32:
> inkaio.h:26:26: error: linux/inkaio.h: No such file or directory
> In file included from P_AIO.h:125,
>                  from AIO.cc:32:
> also tested on 32bit system, same error

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.