Changeset 2002

Show
Ignore:
Timestamp:
10/26/2007 10:20:08 PM (10 months ago)
Author:
jan
Message:

disabled linux-aio and posix-aio for now as experimental

Location:
trunk
Files:
3 modified

Legend:

Unmodified
Added
Removed
  • trunk/NEWS

    r2001 r2002  
    66- 1.5.0 -  
    77  * fixed decoding of common headers in AJP13 (#1399) 
     8  * disable experimental linux-aio and posix-aio support, use gthread-aio instead 
    89 
    910- 1.5.0-r19.. -  
  • trunk/configure.in

    r1963 r2002  
    445445]) 
    446446 
     447if false; then 
     448        dnl async-io doesn't work for all file-systems  
     449        dnl we disable it here in the configure checks  
     450        dnl and in settings.h 
     451 
    447452dnl Check for libaio 
    448453AC_MSG_CHECKING(for libaio) 
    449 AC_ARG_WITH(linux-aio, AC_HELP_STRING([--with-linux-aio],[Async IO support for Linux via libaio]), 
    450 [WITH_LINUXLIBAIO=$withval],[WITH_LINUXLIBAIO=no]) 
     454AC_ARG_WITH(linux-aio, AC_HELP_STRING([--with-linux-aio],[Async IO support for Linux via libaio]), [WITH_LINUXLIBAIO=$withval],[WITH_LINUXLIBAIO=no]) 
    451455AC_MSG_RESULT([$WITH_LINUXLIBAIO]) 
    452456if test "$WITH_LINUXLIBAIO" != "no"; then 
     
    460464 AC_SUBST(AIO_LIB) 
    461465fi 
    462   
     466 
    463467 AC_SEARCH_LIBS(aio_suspend, rt, [ 
    464468         AC_CHECK_HEADERS([aio.h],[ 
     
    477481 ]) 
    478482 AC_SUBST(POSIX_AIO_LIB) 
     483fi 
    479484 
    480485save_LIBS=$LIBS 
  • trunk/src/settings.h

    r1885 r2002  
    5151#if defined(USE_GTHREAD) 
    5252# if defined(USE_LINUX_SENDFILE) 
    53 #  if defined(HAVE_LIBAIO_H) 
     53#  if 0 && defined(HAVE_LIBAIO_H) 
     54     /** disabled for now as not all FSs are async-io capable */ 
    5455#    define USE_LINUX_AIO_SENDFILE 
    5556#  endif