Revision: 14311
Author: adrian.chadd
Date: Thu Oct  1 21:09:18 2009
Log: Fix issue 62 - remove the --enable-coss-aio-ops option; it does  
nothing nowdays


http://code.google.com/p/lusca-cache/source/detail?r=14311

Modified:
  /branches/LUSCA_HEAD/configure.in
  /branches/LUSCA_HEAD/src/fs/coss/store_coss.h

=======================================
--- /branches/LUSCA_HEAD/configure.in   Wed Jul 22 17:47:01 2009
+++ /branches/LUSCA_HEAD/configure.in   Thu Oct  1 21:09:18 2009
@@ -816,18 +816,6 @@
     fi
  ])

-dnl COSS I/O method
-AC_ARG_ENABLE(coss-aio-ops,
-[  --enable-coss-aio-ops   Enable COSS I/O with Posix AIO (default is aufs  
I/O) ])
-if test "$enable_coss_aio_ops" = "yes"; then
-      echo "Using Posix AIO method for COSS disk I/O"
-      AC_DEFINE(USE_AUFSOPS, 0, [  Define this if you would like to use  
the aufs I/O method for
-          disk I/O instead of the POSIX AIO method.])
-else
-      AC_DEFINE(USE_AUFSOPS, 1, [  Define this if you would like to use  
the aufs I/O method for
-          disk I/O instead of the POSIX AIO method.])
-fi
-
  dnl Enable select()
  AC_ARG_ENABLE(select,
  [  --enable-select         Force the use of select support.
=======================================
--- /branches/LUSCA_HEAD/src/fs/coss/store_coss.h       Wed Jul 22 07:37:20 2009
+++ /branches/LUSCA_HEAD/src/fs/coss/store_coss.h       Thu Oct  1 21:09:18 2009
@@ -24,24 +24,6 @@

  #define SWAPDIR_COSS "coss"

-#if 0 &&  USE_AUFSOPS
-/* XXX a hack; the async ops should be broken out! */
-typedef void AIOCB(int fd, void *cbdata, const char *buf,
-    int aio_return, int aio_errno);
-void aioWrite(int, off_t offset, char *, int size, AIOCB *, void *, FREE  
*);
-void aioRead(int, off_t offset, int size, AIOCB *, void *);
-void aioInit(void);
-int aioCheckCallbacks(SwapDir *);
-void aioSync(SwapDir *);
-void squidaio_init(void);
-void squidaio_shutdown(void);
-extern int squidaio_magic1;
-int aioQueueSize(void);
-extern int squidaio_magic1;
-#define MAGIC1 squidaio_magic1
-#endif
-
-
  struct _coss_stats {
      int stripes;
      int dead_stripes;
@@ -137,9 +119,6 @@
      dlink_list pending_ops;
      int pending_reloc_count;
      int count;
-#if !USE_AUFSOPS
-    async_queue_t aq;
-#endif
      dlink_node *walk_current;
      unsigned int blksz_bits;
      unsigned int blksz_mask;  /* just 1<<blksz_bits - 1 */

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"lusca-commit" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/lusca-commit?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to