--------------------- PatchSet 579 Date: 2000/09/16 22:16:58 Author: hno Branch: hno-devel Tag: (none) Log: Oops.. there was a #ifdef typo preventing it from running correctly.. I should learn to verify that it runs and not only builds before committing the changes. Members: src/fs/aufs/store_asyncufs.h:1.1.6.3.2.7->1.1.6.3.2.8 src/fs/aufs/store_io_aufs.c:1.1.6.6.2.6->1.1.6.6.2.7 Index: squid/src/fs/aufs/store_asyncufs.h =================================================================== RCS file: /cvsroot/squid-sf//squid/src/fs/aufs/store_asyncufs.h,v retrieving revision 1.1.6.3.2.7 retrieving revision 1.1.6.3.2.8 diff -u -r1.1.6.3.2.7 -r1.1.6.3.2.8 --- squid/src/fs/aufs/store_asyncufs.h 16 Sep 2000 22:08:44 -0000 1.1.6.3.2.7 +++ squid/src/fs/aufs/store_asyncufs.h 16 Sep 2000 22:16:58 -0000 1.1.6.3.2.8 @@ -21,9 +21,9 @@ /* Which operations to run async */ #define ASYNC_OPEN 1 #define ASYNC_CLOSE 0 +#define ASYNC_CREATE 1 #define ASYNC_WRITE 0 #define ASYNC_READ 1 -/* #define ASYNC_UNLINK 1 */ /* not yet conditional */ struct _aio_result_t { int aio_return; Index: squid/src/fs/aufs/store_io_aufs.c =================================================================== RCS file: /cvsroot/squid-sf//squid/src/fs/aufs/store_io_aufs.c,v retrieving revision 1.1.6.6.2.6 retrieving revision 1.1.6.6.2.7 diff -u -r1.1.6.6.2.6 -r1.1.6.6.2.7 --- squid/src/fs/aufs/store_io_aufs.c 16 Sep 2000 21:49:46 -0000 1.1.6.6.2.6 +++ squid/src/fs/aufs/store_io_aufs.c 16 Sep 2000 22:16:58 -0000 1.1.6.6.2.7 @@ -114,7 +114,7 @@ if (aioQueueSize() > MAGIC2) return NULL; #endif -#if !ASYNC_OPEN +#if !ASYNC_CREATE fd = file_open(path, O_WRONLY | O_CREAT | O_TRUNC); if (fd < 0) { debug(78, 3) ("storeAufsCreate: got failude (%d)\n", errno);